CSVJSON – Self Rise of an Online Tool
medium.com
CSVJSON – Self Rise of an Online Tool
1–10 of 36 posts
Re: CSVJSON – Self Rise of an Online Tool
#2Re: CSVJSON – Self Rise of an Online Tool
#3BTW, does anyone know of a tool to do the reverse? I have some json files with deeply nested arrays and would like to output a csv file with one line for each "leaf". I can write it myself but would be happy to use an existing tool.
Re: CSVJSON – Self Rise of an Online Tool
#4Thanks, I've used your tool a few times and it works beautifully. Quite interesting article too from the SEO pov. BTW, does anyone know of a tool to do the reverse? I have some json files with deeply nested arrays and would like to output a csv file with one line for each "leaf". I can write it myself but would be happy to use an existing tool.
Re: CSVJSON – Self Rise of an Online Tool
#5Coincidentally, I used this today for the first time. It was the 2nd result on Google for me, but was far superior to the first in ease of use. Thanks for your contribution and good luck going forward. My use case today was to create a fixture of initial data for a django app from csv. Oddly enough I wasn't able to find a specialized online tool to create the django fixture and was forced to use your tool along with…
Re: CSVJSON – Self Rise of an Online Tool
#6Thanks, I've used your tool a few times and it works beautifully. Quite interesting article too from the SEO pov. BTW, does anyone know of a tool to do the reverse? I have some json files with deeply nested arrays and would like to output a csv file with one line for each "leaf". I can write it myself but would be happy to use an existing tool.
jq -r '. | map(.key), map(.value) | @csv'
which will output a JSON array as CSV.Re: CSVJSON – Self Rise of an Online Tool
#7Thanks, I've used your tool a few times and it works beautifully. Quite interesting article too from the SEO pov. BTW, does anyone know of a tool to do the reverse? I have some json files with deeply nested arrays and would like to output a csv file with one line for each "leaf". I can write it myself but would be happy to use an existing tool.
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-mul...
Re: CSVJSON – Self Rise of an Online Tool
#8Check out something like https://carbonads.net/ and it might at least pay for your hosting. It's invite only though, so you might have to ask for an invitation.
Re: CSVJSON – Self Rise of an Online Tool
#9Re: CSVJSON – Self Rise of an Online Tool
#10Thanks, I've used your tool a few times and it works beautifully. Quite interesting article too from the SEO pov. BTW, does anyone know of a tool to do the reverse? I have some json files with deeply nested arrays and would like to output a csv file with one line for each "leaf". I can write it myself but would be happy to use an existing tool.
I created a java/scala library[1] (source is scala, but there's a jar with dependencies for java) a few years ago for an Android app I was hired to work on that converts nested JSON to CSV. I was allowed to open source the library later on and released it under the MIT License, so anyone can use it now.
Never thought anyone else would ever need to convert json to csv, but I guess I was wrong :)
I don't have a use case for it anymore, so I haven't maintained it, but if someone wants to update it, feel free to send a pull request.