Re:Time to retire the CSV?
by shapefrog on Wednesday August 18, 2021 @12:00PM
(#28223130)
Thats just a CSV with extra steps.
[ Parent
| on HN ]
Nope, 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.
Interesting. This is JSON++ somehow. What should it be called? Line-oriented JSON? Row-JSON?
It'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--.
Well, 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.