std.data.json formal review

Meta via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 12 06:58:12 PDT 2015


On Wednesday, 12 August 2015 at 07:19:05 UTC, Sönke Ludwig wrote:
> We also discussed an alternative approach similar to 
> opt(n).foo.bar[1].baz, where n is a JSONValue and opt() creates 
> a wrapper that enables safe navigation within the DOM, 
> propagating any missing/mismatched fields to the final result 
> instead of throwing. This could also be combined with a final 
> type query: opt!string(n).foo.bar

In relation to that, you may find this thread interesting:

http://forum.dlang.org/post/lnsc0c$1sip$1@digitalmars.com


More information about the Digitalmars-d mailing list