json-data-encoding-browser
Type-safe encoding to and decoding from JSON (browser support)
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library json-data-encoding-browser
type repr_value = value
val construct :
?include_default_fields:[ `Always | `Auto | `Never ] ->
't Json_encoding.encoding ->
't ->
repr_value
Same as construct
for a custom JSON representation.
val destruct :
?bson_relaxation:bool ->
't Json_encoding.encoding ->
repr_value ->
't
Same as destruct
for a custom JSON representation.
val custom :
( 't -> repr_value ) ->
( repr_value -> 't ) ->
schema:Json_schema.schema ->
't Json_encoding.encoding
Same as custom
for a custom JSON representation.