News for hackers. Stuff that matters.
Re:Use streaming JSON to reduce latency on mobile by masklinn on Monday February 19, 2018 @01:49PM (#16414765)
> JSON hasn't been designed for chunked interpretation. How would the client know when to start interpreting the received message?

Neither has XML and yet we have plenty of working streaming XML parsers.

> How could you tell the difference between a valid chunk or malformed response?

Same as usual, when it breaks.

There are no comments on this comment yet.