Fix Streamed Json Encoding #3891
Part of the untyped contract of encoders is that it flushes per chunk. It's the only way the user can control when partial results become available.
Instead of an arbitrary limit, could we intersperse each
That's what the most recent commit is. Each incoming chunk gets written, interpolated with the commas, and then rechunked.
The first chunk gets special treatment because it has different logic than the comma interpolation. Sorry, original PR description is now wrong with what the code implements.
As currently written outputs chunks