std.json

Craig Dillabaugh cdillaba at cg.scs.carleton.ca
Wed Nov 20 05:24:17 PST 2013


On Wednesday, 20 November 2013 at 13:20:48 UTC, Dicebot wrote:
> For tasks that imply conversion between D types and JSON text 
> (alike to serialization), vibe.d module is really much superior 
> because it provides functions like 
> http://vibed.org/api/vibe.data.json/serializeToJson which "just 
> work" on many user types.

I absolutely agree.  However, I wanted to come up with an example
for std.json, and this mess was the best I could do.  I was
curious if someone could come up with a nicer mess than mine.

Also for small jobs it might be preferable to use std.json - if
you don't want the vibe.d dependency.


More information about the Digitalmars-d-learn mailing list