std.data.json formal review

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 28 21:57:54 PDT 2015


On 7/28/2015 5:15 PM, H. S. Teoh via Digitalmars-d wrote:
>> Probably simply returning an InputRange of JSON values.
> But how would you capture the nesting substructures?

A JSON value is a tagged union of the various types.


> ??!  Surely you have heard of the non-allocating overload of toString?
> 	void toString(scope void delegate(const(char)[]) dg);

Not range friendly.



More information about the Digitalmars-d mailing list