2 ms·
For my part they are for slightly different use cases. While I seldom see CSV files being used for things like configuration and markup, I often see JSON used.
by Y-bar 2y ago
For my part they are for slightly different use cases. While I seldom see CSV files being used for things like configuration and markup, I often see JSON used. And a lot of times configuration choices require explanations.
It's not a binary choice. I am more in favour of JSON comments than I am for CSV comments, but if I were to need them, I would probably use the Emacs style:
https://github.com/emacsmirror/emacswiki.org/blob/34edac6f86f834ae01eacf695ca58ca4b04e9cfd/csv-mode.el#L202-L219 https://github.com/emacsmirror/emacswiki.org/blob/34edac6f86...