Lazily parse a JSON text file using stdx.data.json?

Marco Leise Marco.Leise at gmx.de
Sun Dec 31 03:16:32 UTC 2017


Am Sun, 17 Dec 2017 10:21:33 -0700
schrieb David Gileadi <gileadisNOSPM at gmail.com>:

> On 12/17/17 3:28 AM, WebFreak001 wrote:
> > On Sunday, 17 December 2017 at 04:34:22 UTC, David Gileadi wrote:
> > uh I don't know about stdx.data.json but if you didn't manage to succeed 
> > yet, I know that asdf[1] works really well with streaming json. There is 
> > also an example how it works.
> > 
> > [1]: http://asdf.dub.pm  
> 
> Thanks, reading the whole file into memory worked fine. However, asdf 
> looks really cool. I'll definitely look into next time I need to deal 
> with JSON.

There is also the JSON parser from
https://github.com/mleise/fast
if you need to parse 2x faster than RapidJSON ;)

-- 
Marco



More information about the Digitalmars-d mailing list