Re: Streaming writer Duy Nguyen 21 Jan 2020 13:31 UTC

On Tue, Jan 21, 2020 at 8:00 PM Duy Nguyen <xxxxxx@gmail.com> wrote:
>
> On Tue, Jan 21, 2020 at 5:38 PM Amirouche Boubekki
> <xxxxxx@gmail.com> wrote:
> >
> > Le sam. 18 janv. 2020 à 22:52, John Cowan <xxxxxx@ccil.org> a écrit :
> > >
> > > I propose that json-stream-writer be added.  This accepts a port/accumulator and returns a procedure.  The contract for this procedure is the same as the procedure passed to json-stream-reader.  Any attempt to violate JSON rules of construction will signal an error satisfied by json-error?.
> >
> > Oh, that will allow to write a possibly bigger than memory JSON text?
>
> For me, that would allow me to customize the output (I hope) to print
> json with indentation.

Argh.. never mind. John was talking about input stream, not output.
--
Duy