package orsetto
A library of assorted structured data interchange languages
Install
Dune Dependency
Authors
Maintainers
Sources
r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>