package atdgen
Generates efficient JSON serializers, deserializers and validators
Install
Dune Dependency
Authors
Maintainers
Sources
v1.12.0.tar.gz
sha256=3e81d562e74374b98c0f383c1ded46beb06d8416d2065645fd68d3b8b0238ddd
md5=f85f590714edcdd4b847aa242b6c5747
doc/atdgen/Ag_oj_mapping/index.html
Module Ag_oj_mapping
Source
Source
val mapping_of_cell :
Atd_ast.cell ->
(Ag_ocaml.atd_ocaml_repr, Ag_json.json_repr) Ag_mapping.cell_mapping
Source
val mapping_of_variant :
Atd_ast.variant ->
(Ag_ocaml.atd_ocaml_repr, Ag_json.json_repr) Ag_mapping.variant_mapping
Source
val mapping_of_field :
string ->
Atd_ast.field ->
(Ag_ocaml.atd_ocaml_repr, Ag_json.json_repr) Ag_mapping.field_mapping
Source
val def_of_atd :
(Atd_ast.loc * (string * string list * Atd_annot.t) * Atd_ast.type_expr) ->
(Ag_ocaml.atd_ocaml_repr, Ag_json.json_repr) Ag_mapping.def
Source
val defs_of_atd_module :
[< `Type of
Atd_ast.loc * (string * string list * Atd_annot.t) * Atd_ast.type_expr ]
list ->
(Ag_ocaml.atd_ocaml_repr, Ag_json.json_repr) Ag_mapping.def list
Source
val defs_of_atd_modules :
('a
* [< `Type of
Atd_ast.loc
* (string * string list * Atd_annot.t)
* Atd_ast.type_expr ]
list)
list ->
('a * (Ag_ocaml.atd_ocaml_repr, Ag_json.json_repr) Ag_mapping.def list) list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>