atdj

AuthorsJohn Billings and Martin Jambon
LicenseBSD-3-Clause
Homepagehttps://github.com/esperco/atdj
Issue Trackerhttps://github.com/esperco/atdj/issues
MaintainerMartin Jambon <martin@mjambon.com>
Dependencies
&atdgen
omake
PublishedApr 21, 2016
Source [http] https://github.com/esperco/atdj/tarball/4cea30a5661fe426af664b0ab5fb0143f34ed513
a9227b4495932b4e8b9dc2b2f63708ad
StatisticsInstalled 16 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/atdj/atdj.20151001.01.2/opam

Java code generation for ATD.

Atdj is a program that generates a Java interface from type definitions. In particular, given a set of ATD type definitions, this tool generates a set of Java classes representing those types with built-in JSON serializers and deserializers.

The primary benefits of using the generated interface, over manually manipulating JSON strings from within Java, are safety and ease of use. Specifically, the generated interface offers the following features:

  • JSON strings are automatically checked for correctness with respect to the ATD specification.

  • Details such as optional fields and their associated default values are automatically handled.

No package is dependent