On behalf of the atd team, I’m pleased to announce the release of atd 2.0. This release is a major version bump because it contains a couple of breaking changes:
- Removal of the tag_field field. E.g.
<json tag_field=..>.
- Removal of
untyped
field.
These features now have superior alternatives:
- An
open_enum
option to read unknown strings into a catch all variant - An adapter mechanism to manipulate json on the fly before it is passed on to the atd generated readers/writers.
I’ll refer to the manual for more thorough descriptions of the feature:
- https://atd.readthedocs.io/en/latest/atdgen.html?highlight=open_enum#field-open-enum
- https://atd.readthedocs.io/en/latest/atdgen.html?highlight=open_enum#field-adapter-ocaml
The manual is also quite new, and the team is working on polishing the documentation. We are happy to hear your comments.
Happy Hacking.