5 ms·
I can't speak for this lib, but I've had a lot of success with csvkit [0], json2csv [1] and json directly with jq [2]. [0] https://github.com/onyxfish/csvkit h
by thezilch 13y ago
I can't speak for this lib, but I've had a lot of success with csvkit [0], json2csv [1] and json directly with jq [2].
[0] https://github.com/onyxfish/csvkit https://github.com/onyxfish/csvkit
[1] https://github.com/jehiah/json2csv https://github.com/jehiah/json2csv
[2] https://github.com/stedolan/jq https://github.com/stedolan/jq
- pessimizer 13y agoI've had a good time with it. Fast, portable, feature-rich and well documented: http://csvfix.byethost5.com/csvfix15/csvfix.html http://csvfix.byethost5.com/csvfix15/csvfix.html
- michaelmior 13y agocsvkit is awesome. My only complaint was that it correctly parsed a file and left my confused when I had half the number of rows I expected because I didn't realize each row contained a line break.
- susi22 13y agoThis is a great list, but IMO lacks the most powerful (but unfortunately unpopular) one: https://github.com/dbro/csvquote https://github.com/dbro/csvquote Apply it first, then do the normal processing with GNU coreutils and you'll cover most use cases.
- dbro 13y agoThanks very much! You just made my day!