package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8

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.