Re:Use streaming JSON to reduce latency on mobile
by beau on Monday February 19, 2018 @12:14PM
(#16414108)
curl is a streaming parser. Most tools know what to do with a newline.
Re:Use streaming JSON to reduce latency on mobile
by andrewprock on Monday February 19, 2018 @01:00PM
(#16414421)
I haven't checked, but does Chrome preview tab handle this non-standard format? That's the level where a great deal of JSON debugging occurs.
It's important to remember why we use JSON. It's not because it's well suited to transmission. It's because it's easy to reason about. If you want to move to a streaming format that is not easy to reason about, you may as well move to a binary format.