package json-data-encoding
Type-safe encoding to and decoding from JSON
Install
Dune Dependency
Authors
Maintainers
Sources
data-encoding-v1.0.1.tar.gz
md5=82d6e7783274595c82cff4562e2b06a2
sha512=df5d00dfef8afeada8a6aee2a97d491a2ce20cfe90aed203848f6098ba05ba60e2ee9d1afc0c6c07cf32dad3f8e34c0b55cf900ef1f2e7a72d704f07fd32e651
doc/json-data-encoding/Json_encoding/module-type-S/index.html
Module type Json_encoding.S
Source
Source
val construct :
?include_default_fields:[ `Always | `Auto | `Never ] ->
't encoding ->
't ->
repr_value
Same as construct
for a custom JSON representation.
Source
val destruct :
?ignore_extra_fields:bool ->
?bson_relaxation:bool ->
't encoding ->
repr_value ->
't
Same as destruct
for a custom JSON representation.
Source
val custom :
?is_object:bool ->
('t -> repr_value) ->
(repr_value -> 't) ->
schema:Json_schema.schema ->
't encoding
Same as custom
for a custom JSON representation.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>