atdgen

Homepagehttps://github.com/mjambon/atdgen
Maintainerhttps://github.com/ocaml/opam-repository/issues
Dependencies
&atd>= 1.1.0
biniou>= 1.0.6
ocamlfind
yojson
Availableocaml-version < "4.03"
PublishedOct 30, 2014
Source [http] https://github.com/mjambon/atdgen/archive/v1.4.1.tar.gz
a373cdb4c002aba5a481fc333f380d74
StatisticsInstalled 4 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/atdgen/atdgen.1.4.1/opam

Generates efficient JSON serializers, deserializers and validators

Atdgen is a command-line program that takes as input type definitions in the ATD syntax and produces OCaml code suitable for data serialization and deserialization.

Two data formats are currently supported, these are biniou and JSON. Atdgen-biniou and Atdgen-json will refer to Atdgen used in one context or the other.

Atdgen was designed with efficiency and durability in mind. Software authors are encouraged to use Atdgen directly and to write tools that may reuse part of Atdgen’s source code.