4 ms·
Thats just a CSV with extra steps.
by shapefrog 5y ago
Thats just a CSV with extra steps.
- cogman10 5y agoNope, that's CSV without the drawbacks of CSV. That's CSV that can have special characters and doesn't suffer from delimiter problems. When someone says "Maybe we can fix CSV" this is what you should do instead of trying to "fix" CSV.
- mongol 5y agoInteresting. 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).
- deleted 5y ago[deleted]