package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.1.tar.gz
sha256=81283687ce3204263bc955a332dd7b90bf5b648a990c01160f33aaa77d80962f
md5=7346293aa013c2a8974c6fb7c521166a

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.