On Wednesday, 28 January 2015 at 21:54:06 UTC, Pierre Krafft
wrote:
Hi,
DUB lacked a package for going between D objects and JSON.
painlessjson is a library just released on DUB looking to be
the easy solution for converting D data to and from JSON.
painlessjson uses templates and traits to generate code that
converts to and from std.json.
The goals of painlessjson are:
- Easy to use and set up
- Highly configurable with sensible defaults
- Keep the library code simple by not reinventing what others
provide for us
- Support as many D types as possible
Not quite the same, but I've been using dson
(https://github.com/w0rp/dson).
Have you looked it over?