(no title)
hiddew | 11 months ago
For other use cases I would use newline separated JSON. Is has most of the benefits as written in the article, except the uncompressed file size.
hiddew | 11 months ago
For other use cases I would use newline separated JSON. Is has most of the benefits as written in the article, except the uncompressed file size.
akie|11 months ago
It has a downside though: wherever JSON itself is used, it tends to be a few kilobytes at least (from an API response, for example). If you collect those in a JSONL file the lines tend to get verrrry long and difficult to edit. CSV files are more compact.
JSONL files are a lot easier to work with though. Less headaches.
k_bx|11 months ago
taftster|11 months ago
I wonder how much we have been hindered ourselves by reinventing plain text human-readable formats over the years. CSV -> XML -> JSON -> YAML and that's just the top-level lineage, not counting all the branches everywhere out from these. And the unix folks will be able to name plenty of formats predating all of this.