atdgen-runtime

Runtime library for code generated by atdgen
Library atdgen-runtime
Module type Atdgen_runtime . Json_adapter . S
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.