3 ms·
It 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 pla
by bee_rider 4y ago
It 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.