3 ms·
> carriage-return (\r\n) delimited JSON-endocded activities That's not JSON
by platz 9y ago
> carriage-return (\r\n) delimited JSON-endocded activities
That's not JSON
- Spivak 9y agoWhy 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 https://tools.ietf.org/html/rfc7159#section-2
- platz 9y agook - 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"