package atdgen

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.13.0.tar.gz
sha256=e8b9513971f4578d2b0a918323ca10b79008271160d8bdc61b02d43336b7a970
md5=da11b6157d5674e2d27cfd401eb8003a

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.

Published: 27 May 2018

README

README.md

ATD stands for Adaptable Type Definitions. It is a syntax for defining cross-language data types. It is used as input to generate efficient serializers, deserializers and validators. The current target languages are OCaml and Java.

The following opam packages are provided by the atd project:

  • atdgen: executable that generates OCaml code dealing with JSON and biniou data formats

  • atdj: executable that generates Java code dealing with JSON

  • atd: library for parsing atd files used by code generators

Documentation

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

Contribution guidelines

OCaml

Innovation. Community. Security.