opam-version: "2.0"
maintainer: "Martin Jambon <martin@mjambon.com>"
license: "BSD-3-Clause"
authors: ["John Billings" "Martin Jambon"]
homepage: "https://github.com/esperco/atdj"
bug-reports: "https://github.com/esperco/atdj/issues"
dev-repo: "git+https://github.com/esperco/atdj.git"
build: [make]
depends: [
  "ocaml" {< "4.06.0"}
  "omake"
  "atdgen" {build & < "1.13.0"}
]
synopsis: "Java code generation for ATD."
description: """
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."""
extra-files: ["atdj.install" "md5=8be0df9e1cd1aaa3d73c056183ca50e8"]
url {
  src:
    "https://github.com/esperco/atdj/tarball/4cea30a5661fe426af664b0ab5fb0143f34ed513"
  checksum: "md5=a9227b4495932b4e8b9dc2b2f63708ad"
}
