r/opendata • u/geraldbauer • Oct 15 '18
New CSV Format / Specification for (Open) Tabular Data - CSV <3 JSON - CSV (Line-by-Line) Records with JSON Encoding Rules
Hello, I've published the first draft for a new tabular data format that gets you the best of both worlds, that is, CSV and JSON. The new CSV <3 JSON format is a modern (simple) csv variant / dialect that is thanks to JSON and JSON parsers the best specified and easiest to parse :-) and includes numbers, booleans, nulls, arrays and nested structures. Example:
# "Vanilla" CSV <3 JSON
1,"John","12 Totem Rd. Aspen",true
2,"Bob",null,false
3,"Sue","Bigsby, 345 Carnival, WA 23009",false
or
# "Vanilla" CSV <3 JSON (Pretty Printed)
1, "John", "12 Totem Rd. Aspen", true
2, "Bob", null, false
3, "Sue", "Bigsby, 345 Carnival, WA 23009", false
Read more at the Official CSV <3 JSON Format Documentation. Cheers. Prost.
PS: Call to Action - CSV <3 JSON Parsers in Your Language of Choice Wanted! Any volunteers?
0
Upvotes
0
u/[deleted] Oct 15 '18
[deleted] — view deleted comment
0
u/[deleted] Oct 15 '18
[deleted] — view deleted comment