package atdgen

Build not checked
  1. Overview
  2. Docs
Generates efficient JSON serializers, deserializers and validators

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.12.0.tar.gz
sha256=3e81d562e74374b98c0f383c1ded46beb06d8416d2065645fd68d3b8b0238ddd
md5=f85f590714edcdd4b847aa242b6c5747

Description

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.

Added to opam-repository:

README

ATD stands for Adaptable Type Definitions. It is a syntax for defining cross-language data types and it is used by atdgen for defining the type of JSON data and generating efficient serializers, deserializers and validators.

The ATD language and its OCaml library were designed and implemented at MyLife by Martin Jambon. We distribute the source code under the terms of a BSD license.

Dependencies (5)

  1. yojson >= "1.2.1" & < "2.0.0"
  2. biniou >= "1.0.6"
  3. atd >= "1.2.0" & < "1.13.0"
  4. jbuilder >= "1.0+beta7"
  5. ocaml

Dev Dependencies

None

Optional Dependencies

None

Conflicts

None

Build status

Results of building atdgen with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
4.2.0 n/a good good good good
4.0.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure