2 ms·
> - Why do I need a class for streaming JSON - Python's got a perfectly good `yield` for returning tokens in such situations. I use msgpack in Python (twisted,
by willvarfar 14y ago
> - Why do I need a class for streaming JSON - Python's got a perfectly good `yield` for returning tokens in such situations.
I use msgpack in Python (twisted, tornado) precisely because it can consume byte buffers which are not token-aligned.