stdx.data.json

Laeeth Isharc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 29 11:48:21 PDT 2015


Hi.

What's the best way to pass the contents of a file to the stream 
parser without reading the whole thing into memory first?  I get 
an error if using byLine because the kind of range this function 
returns is not what the stream parser is expecting.

There is an optional filename argument to parseJSONStream, but I 
am not sure what this is for, since it still requires the first 
argument for the input if the filename is passed.


Thanks.


Laeeth.


More information about the Digitalmars-d-learn mailing list