Usage of custom class with JSONValue

Rene Zwanenburg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 24 02:54:10 PDT 2016


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.


More information about the Digitalmars-d-learn mailing list