Comment by packetlost
Comment by packetlost a day ago
JSON isn't streamable. Neither is CBOR for that matter, though it's not quite as bad.
Comment by packetlost a day ago
JSON isn't streamable. Neither is CBOR for that matter, though it's not quite as bad.
JSON itself, no, that's not the case. If you accept an extension like JSON Lines, it can be. Many decoders will barf if you have multiple top level objects in the same file. If you want portable, non-ephemeral data JSON Lines is a poor choice.
Individual JSON records are streamable