2 ms·
> 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 h
by masklinn 9y ago
> 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.