3 ms·
One that I wrote a while ago, which might or might not do what you want: https://github.com/jsnell/json-to-multicsv https://github.com/jsnell/json-to-multicsv
by jsnell 11y ago
One that I wrote a while ago, which might or might not do what you want: https://github.com/jsnell/json-to-multicsv https://github.com/jsnell/json-to-multicsv
Note that the mapping from nested / hierarchical JSON file to CSV file(s) is not as obvious as it is the other way around. There's some configuration involved. I wrote a blog post about that particular aspect: https://www.snellman.net/blog/archive/2016-01-12-json-to-multicsv/ https://www.snellman.net/blog/archive/2016-01-12-json-to-mul...
- kawera 11y agoI tried but json-to-multicsv didn't really solve this particular case as I have some weird json files. Not been well versed in perl, I ended up writing a little script in python and, for that, your blog post was very helpful, thank you!