News for hackers. Stuff that matters.
Re:Use streaming JSON to reduce latency on mobile by platz on Monday February 19, 2018 @02:21PM (#16415015)
> carriage-return (\r\n) delimited JSON-endocded activities

That's not JSON

Re:Use streaming JSON to reduce latency on mobile by Spivak on Tuesday February 20, 2018 @12:00AM (#16417955)
Why would you say that?

> Insignificant whitespace is allowed before or after any of the six structural characters.

Where whitespace may be space, carriage return, line feed, or horizontal tab. It's explicitly valid JSON.

https://tools.ietf.org/html/rfc7159#section-2

Re:Use streaming JSON to reduce latency on mobile by platz on Tuesday February 20, 2018 @12:07AM (#16417983)
ok - but my point is that it's a protocol, that is more specific than json i.e. streaming JSON in full generality has problems. if you want to restrict yourself to a subset and create a protocol, thats great - but it's not really "streaming JSON"