package atdgen

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

Install

Dune Dependency

Authors

Maintainers

Sources

v1.12.0.tar.gz
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.

Published: 23 Jun 2017

README

README.md

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.