package atdgen
Generates efficient JSON serializers, deserializers and validators
Install
Dune Dependency
Authors
-
MMartin Jambon <martin@mjambon.com>
-
RRudi Grinberg <rudi.grinberg@gmail.com>
-
MMartin Jambon <martin@r2c.dev>
-
MMartin Jambon <github@mjambon.com>
-
IIvan Jager <aij+git@mrph.org>
-
Ooleksiy <oleksiy.golovko@ahrefs.com>
-
DDavid Sheets <sheets@alum.mit.edu>
-
RRudi Grinberg <me@rgrinberg.com>
-
MMartin Jambon <martin@esper.com>
-
JJeff Meister <nanaki@gmail.com>
-
CCaio Wakamatsu <caio.wakamatsu@ahrefs.com>
-
CCarmelo Piccione <carmelo.piccione@gmail.com>
-
DDaniel Weil <danweil68@gmail.com>
-
EEgor Chemokhonenko <egor.chemohonenko@ahrefs.com>
-
Gabriel Scherer
-
RRaman Varabets <roman.vorobets@gmail.com>
-
Ttzm <frank@boldsolutions.de>
-
MMathieu Baudet <mathieubaudet@fb.com>
-
OOleksiy Golovko <alexei.golovko@gmail.com>
-
RRauan Mayemir <rauan@mayemir.io>
-
CCarmelo Piccione <cep1@solvuu.com>
-
JJohn Billings <john@monkeynut.org>
-
LLouis Roché <louis@louisroche.net>
-
BBrendan Long <self@brendanlong.com>
-
CChris Yocum <cyocum@gmail.com>
-
LLouis Roché (Ahrefs) <louis.roche@ahrefs.com>
-
LLouis Roché <louis.roche@ahrefs.com>
-
PPavel Antoshkin <pavel.antoshkin@ahrefs.com>
-
PPierre Boutillier <pierre.boutillier@laposte.net>
-
SShon Feder <shon.feder@key.me>
-
AAnurag Soni <anuragsoni.13@gmail.com>
-
AArjun Ravi Narayan <arjunravinarayan@gmail.com>
-
AAsya-kawai <kawai-toshiki@aintek.xyz>
-
CChristophe Troestler <christophe.Troestler@umons.ac.be>
-
Damien Doligez
-
DDaniel M <dan.mntg@gmail.com>
-
DDing Xiang Fei <dingxiangfei2009@protonmail.ch>
-
FFrançois Pottier <francois.pottier@inria.fr>
-
JJavier Chavarri <javier.chavarri@gmail.com>
-
KKate <kit.ty.kate@disroot.org>
-
LLouis <louis.roche@ahrefs.com>
-
LLouis Roché <louis@cryptosense.com>
-
RRaman Varabets <raman+git@ahrefs.com>
-
SStephane Legrand <slegrand45@gmail.com>
-
VVincent Bernardoff <vb@luminar.eu.org>
-
Hhaoyang <haoyang@esper.co>
-
Ppmundkur <prashanth.mundkur@gmail.com>
-
Yygrek <ygrek@autistici.org>
Maintainers
Sources
atdgen-codec-runtime-2.4.0.tbz
sha256=9d5b2ccaa21813efc8161b8a9f4371d630837c4b991be90664c5f332e6f75adb
sha512=de470d3082025989126327f056fa9901870c49a1adfffa1fcdad80fcd6cd04a9ab46e1d713302dc5fbda289a15013fb086c0c0691a7fd86fe414d3e9d9950de6
doc/CHANGES.html
2.4.0 (2022-03-24)
- atdpy: allow custom imports and class decorators to be added to the generated Python code.
2.3.3 (2022-03-16)
- Prevent incorrect validation errors for annotations of the form
<ocaml field_prefix=...>
and a few others (#258)
2.3.2 (2022-03-11)
- Fix package dependencies (#257)
2.3.1 (2022-03-10)
- Ensure that atdgen reports its own version rather than the version of the atd library.
- Fix version constraint on cmdliner.
2.3.0 (2022-03-10)
- Allow single-quoted strings as an alternative to double-quoted strings in ATD files (#239)
- Add Python backend called atdpy (#235)
- Add detection of misplaced annotations and misspelled annotation field names for atdgen targets and atdpy (#204, #227)
- atdpy: Downcase Python output files (#251)
- atdpy: Disable flake8 checks on generated code via a special comment (#252)
- atdgen: Add support for ppx attributes on individual type definitions (#238)
- other enhancement and fixes (see git log)
2.2.0 (2020-09-03)
- Add support for merging double annotations (
<ocaml from="ProtoA"><ocaml predef>
) - Add tests for annotation merging and target-specific annotations
2.1.0 (2019-12-3)
- Fix bug preventing generated code from compiling when using json adapters on recursive types.
- Improve automatic error messages shown in case of failed validation. Now include the validator's name or code.
- Add support for json adapters in the bucklescript backend. (#153)
2.0.0 (2018-05-31)
- Add support for json adapters in OCaml (
<json adapter.ocaml=...>
) - Add support for json enums with a catch-all case (
<json open_enum>
) - Remove
<json tag_field=...>
and<json untyped>
1.13.0 (2018-03-27)
- Introduce
atdgen-runtime
package. This package contains the runtime dependency introduced by theatdgen
code generator. The old runtime library is deprecated - Add
atdj
to set of released packages.atdj
is a java code generator for .atd files. - Improve generated code to emit ppx attributes to ignore harmless warnings
Ag_version
submodule has been replaced withVersion
.- Transition
atd
aliases using the(wrapped true)
mode of jbuilder. This is a breaking change for all of those who useatd
the library. All modules are now accessible under theAtd.
entry module.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page