4 ms·
Or: just use \n and also be able to read individual rows. Many programs in the wild do this.
by bevacqua 10y ago
Or: just use \n and also be able to read individual rows. Many programs in the wild do this.
- corysama 10y agoI really wish ASCII delimited text didn't die off. https://ronaldduncan.wordpress.com/2009/10/31/text-file-formats-ascii-delimited-text-not-csv-or-tab-delimited-text/ https://ronaldduncan.wordpress.com/2009/10/31/text-file-form... https://news.ycombinator.com/item?id=7474600 https://news.ycombinator.com/item?id=7474600 But, it suffered from not having designated keys on common keyboards, therefore it wasn't obviously necessary for plain text editors to support. Meanwhile, everyone uses plain text editors for everything --even if it means jumping through hoops full of exceptions and corner cases to pretend they can handle more than plain text.
- jameshart 10y agoNewline-delimited JSON? I've used it informally, but I've never had the nerve to suggest it as an actual documented interchange format. It makes a lot of sense for things which CSV is often used for - dumping out big tables of data into files for shipping over FTP or similar - or even for logfiles with structured data entries. The tricky thing is having to restrict the JSON on each line to not contain any newline characters. Even though all legitimate JSON can be minified into a form which has the same semantics but contains no newlines, "JSON with no newlines in it" isn't a well defined standard.
- bevacqua 10y ago"JSON with no commas in it" isn't a thing either. That's not what's being discussed here.