additional comments Alex Shinn (25 May 2020 01:13 UTC)
Re: additional comments Amirouche Boubekki (28 May 2020 07:10 UTC)
Re: additional comments Alex Shinn (28 May 2020 09:15 UTC)
Re: additional comments John Cowan (28 May 2020 14:25 UTC)
Re: additional comments Amirouche Boubekki (20 Jun 2020 07:30 UTC)
json-lines-read and json-sequence-read Amirouche Boubekki (20 Jun 2020 10:48 UTC)

Re: additional comments Amirouche Boubekki 28 May 2020 07:10 UTC

Le lun. 25 mai 2020 à 03:13, Alex Shinn <xxxxxx@gmail.com> a écrit :
>
> It should be noted that the read values and objects are immutable.
>
> Although the generalized tree-fold is useful (and necessary to
> efficiently parse JSON into record types), a higher-level fold
> which iterates on each top-level object in a file can be useful.
> Typically large JSON files are written one entry at a time
> (optionally each on one line) with no enclosing array.

That is JSON Sequence or JSON lines.

Should it return a generator of of generator

OR

A generator of scheme object?

Thanks!