atdgen-runtime
Runtime library for code generated by atdgen
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 atdgen-runtime
module type Param = sig ... end
module Default_param : Param
Default parameters, using type_field_name = "type"
.
Default adapter assuming a "type"
field.
include 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.