Json in D: clean, simple API

aberba via Digitalmars-d digitalmars-d at puremagic.com
Thu May 11 12:33:09 PDT 2017


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?


More information about the Digitalmars-d mailing list