atdj

Authors { John Billings, Martin Jambon }
License BSD-3-Clause
Homepage https://github.com/esperco/atdj
Issue Tracker https://github.com/esperco/atdj/issues
Maintainer Martin Jambon <martin@mjambon.com>
Dependencies
& atdgen
omake
Published Apr 21, 2016
Source [http] http://github.com/esperco/atdj/tarball/4cea30a5661fe426af664b0ab5fb0143f34ed513
a9227b4495932b4e8b9dc2b2f63708ad
Statistics Installed 106 times in last month.
Edit https://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