3 ms·
1. Most people are using tools 2. CSV parsers are easy to write I know I know, someone once said it was hard, everyone else wanted to be smart and started r
by P5fRxh5kUvp2th 4y ago
1. Most people are using tools
2. CSV parsers are easy to write
I know I know, someone once said it was hard, everyone else wanted to be smart and started reporting it.
What CSV is, is ambiguous. But if you're ingesting CSV generated by the export function of a tool, that's not ambiguous.
- bee_rider 4y agoIt seems like, at least, converting a flat JSON record to CSV (or vise-versa) should be a one-liner in lots of cases. Usually I want CSV, it is because I'm playing around with data on the command line and doing grep/cut/and so on. If I has something that output json... that miller tool is supposed to be good for this sort of stuff I think. https://miller.readthedocs.io/en/latest/ https://miller.readthedocs.io/en/latest/
- astrange 4y agoUsually I use jq (https://stedolan.github.io/jq/ https://stedolan.github.io/jq/) though I think it has a newer fork now.