Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Module signature required of any json adapter. For example, an ATD annotation <json
adapter.ocaml="Atdgen_runtime.Json_adapter.Type_field"
refers to the OCaml module Atdgen_runtime.Json_adapter.Type_field
.
val normalize : Yojson.Safe.t -> Yojson.Safe.t
Convert a real json tree into an atd-compliant form.
val restore : Yojson.Safe.t -> Yojson.Safe.t
Convert an atd-compliant json tree into a real json tree.