3 ms·
CSV is human readable, how readable is left to the data. XML tries to be human readable, but you will need knowledge of elements or "tags", meta data. JSONLin
by oneweekwonder 11y ago
CSV is human readable, how readable is left to the data.
XML tries to be human readable, but you will need knowledge of elements or "tags", meta data.
JSONLines also tries to be human readable, imo it does a better job, compared to XML.
But not until Excel of LibraOffice implement a JSONL, or XSV reader/writer.
Will CSV be the de-facto multi standard.
- mtdewcmu 11y agoI agree that XSV is somewhat less human-readable than CSV. However, you can automatically convert XSV into more-readable CSV and back (assuming your flavor of CSV doesn't lose fidelity).
- collyw 11y agoIn my experience XML is easier to read than JSON. Guess it depends on the complxity of the structure.
- mtdewcmu 11y agoI think one predictor of readability is the ratio of markup to data. XML gives you some flexibility there, but XML-based formats tend to have very verbose markup, which overwhelms the data. To cut back on markup in XSV, I used self-closing tags for commas and newlines. It would have been more conventional to use something like <row><column>...</column></row>. That has some advantages, maybe, but it doubles the number of tags (and it introduces things that are not strictly 1:1 with CSV, which could lead to ambiguity).