package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085

doc/orsetto.json/Json_emit/Render/index.html

Module Json_emit.Render

A submodule to encapsulate functions for use with data rendering models.

val object_model : (string Cf_data_render.index, 'v) Cf_data_render.bind array -> 'v Cf_data_render.model

Use object_model fields to construct a structure data model for JSON objects with the unsorted members comprising fields.

val emit : 'a Cf_data_render.model -> 'a t

Use emit m to make an emitter for values according to an abstract data model m. All containers are emitted as JSON arrays, except for `Structure Cf_type.String and `Structure Ucs_type.Text which are emitted as JSON objects.

OCaml

Innovation. Community. Security.