Json in D: clean, simple API

cym13 via Digitalmars-d digitalmars-d at puremagic.com
Thu May 11 12:49:54 PDT 2017


On Thursday, 11 May 2017 at 19:33:09 UTC, aberba wrote:
> Json libs in D seem not straight foward. I've seen several 
> wrappers and (De)serializers trying to abstract std.json.
>
> std_data_json proposed to replace std.json doesnt *seem* to 
> tackle straigh-forward json process like I find vibe.data.json.
>
> Handy stuff I'm not finding but much simple in vibe.data.json 
> include piecewise construction (constructing json objects like 
> associative arrays) and vibe.data.json's value.get!T. API feel 
> also *feels* not straight-forward.
>
> Are all the capabilities of std_data_json what I see in its 
> docs?
>
> Why does json seem hard in D and why is std.json still there?

Try https://github.com/tamediadigital/asdf ?


More information about the Digitalmars-d mailing list