Lazily parse a JSON text file using stdx.data.json?
Dr.No
jckj33 at gmail.com
Tue May 22 19:58:36 UTC 2018
On Sunday, 17 December 2017 at 16:51:21 UTC, Steven Schveighoffer
wrote:
> On 12/17/17 4:44 AM, Jonathan M Davis wrote:
>
>> [...]
>
> There is an even more work-in-progress library built on that,
> but it's not yet in dub (this was the library I wrote for my
> dconf talk this year): https://github.com/schveiguy/jsoniopipe
>
> This kind of demonstrates how to parse json data lazily with
> pretty high performance.
>
> It really depends on what you are trying to do, though.
>
>> [...]
>
> I think there eventually will have to be a day of reckoning for
> auto-decoding. But it probably will take a monumental effort to
> show how it can be done without being too painful for existing
> code. I still believe it can be done.
>
> -Steve
Does this cause infine loop?
https://github.com/schveiguy/jsoniopipe/blob/master/source/jsoniopipe/dom.d#L134
More information about the Digitalmars-d
mailing list