stdx.data.json - enhancement suggestions

Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 2 16:37:48 PDT 2015


You can use std.json or create TrustedInputRangeShell template 
with @trasted methods:


struct TrustedInputRangeShell(Range)
{
     Range* data;

     auto front() @property @trusted { return (*data).front; }

     //etc
}

But I am not sure about other parseJSONStream bugs.


More information about the Digitalmars-d-learn mailing list