Json in D: clean, simple API

aberba via Digitalmars-d digitalmars-d at puremagic.com
Thu May 11 13:19:36 PDT 2017


On Thursday, 11 May 2017 at 20:04:35 UTC, Adam D. Ruppe wrote:
> On Thursday, 11 May 2017 at 19:33:09 UTC, aberba wrote:
>> Why does json seem hard in D
>
> What are you actually looking for?

I managed to do the task but api makes code not clean for such 
simple tasks (AA to json, json to AA, json["new key"] = newJson, 
...). vibe.data.json does a good job with api design specially 
construction of new json objects from AA and D types to json 
types.


More information about the Digitalmars-d mailing list