Json_encoding.Makemodule Repr : Json_repr.Reprtype repr_value = Repr.valueval construct :
?include_default_fields:[ `Always | `Auto | `Never ] ->
't encoding ->
't ->
repr_valueSame as construct for a custom JSON representation.
val destruct :
?ignore_extra_fields:bool ->
?bson_relaxation:bool ->
't encoding ->
repr_value ->
'tSame as destruct for a custom JSON representation.
val custom :
?is_object:bool ->
('t -> repr_value) ->
(repr_value -> 't) ->
schema:Json_schema.schema ->
't encodingSame as custom for a custom JSON representation.