On Monday, 2 January 2023 at 21:36:10 UTC, Steven Schveighoffer
wrote:
On 1/1/23 6:28 PM, torhu wrote:
I need to parse some JSON data into various data structures,
so I'm looking for a parser based on events or ranges. One
that doesn't just load the file and build a data structure
that represents the whole thing. So not std.json, at least.
It's pretty rough-edged, but
https://code.dlang.org/packages/jsoniopipe will do this. It has
mechanisms to jump to specific object members, and to rewind to
a cached point. It does not use any intermediate representation.
-Steve
Thank, I can check it out.