On Thursday, 24 March 2016 at 08:24:46 UTC, Edwin van Leeuwen
wrote:
Alternatively there are multiple serialization libraries that
will allow you to turn any user defined type from and to
JSONValues.
https://code.dlang.org/packages/painlessjson
https://code.dlang.org/packages/jsonizer
Cheers, Edwin
I don't know the above libraries so I can't comment on their
quality, but I've used vibe.d's json module extensively and it's
pretty solid. Vibe has also recently been split up into multiple
subpackages, so you only have to depend on vibe-d:data and don't
have to pull in the rest.