package orsetto

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.