3 ms·
Interesting. This is JSON++ somehow. What should it be called? Line-oriented JSON? Row-JSON?
by mongol 5y ago
Interesting. This is JSON++ somehow. What should it be called? Line-oriented JSON? Row-JSON?
- cogman10 5y agoIt's just JSON. It's not an extension to the spec, it's a subset of the spec. If anything, you could say it's JSON--.
- mongol 5y agoWell, to work as a CSV-like JSON, i.e greppable similar to a CSV it needs formatting with linebreaks as above. It is still completely valid JSON. ++ is the formatting convention.
- cogman10 5y agoGotcha. Yeah, it's never really come up as it's generally trivial to convert into this format from either a text editor or sed (Look for the `],[` and put a new line after the comma).