atdj

AuthorEsper
Homepagehttps://github.com/esperco/atdj
Issue Trackerhttps://github.com/esperco/atdj/issues
Maintainermatthieu.dubuget@gmail.com
Dependencies
&atdgen< 1.13.0
omake
Availableocaml-version < "4.06.0"
PublishedApr 20, 2016
Source [http] https://github.com/esperco/atdj/tarball/4cea30a5661fe426af664b0ab5fb0143f34ed513
a9227b4495932b4e8b9dc2b2f63708ad
StatisticsInstalled 3 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/atdj/atdj.20151001.01/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