7 ms·
You could have the advantages of both worlds by having one json object per line. You could stream process, and you could structure more complex objects and have
by sheeeep86 4y ago
You could have the advantages of both worlds by having one json object per line. You could stream process, and you could structure more complex objects and have consistent escaping.
- ledauphin 4y agoand the "redundant" headers will get compressed away to nearly nothing over most transports.
- gugagore 4y agohttps://jsonlines.org/ https://jsonlines.org/
- nmz 4y agoYou could do that, you could also have a json that is not streamable. You can't guarantee how large a json object will be but you can guess that the csv will probable be.