Closed simonseo closed 6 years ago
I think we might need one more step for future usage which is creating an outline json file out of the json file that is given. I think this would help in two ways.
I do agree that the json2csv library is way too big so we want to cut it down.
I want to use json2csv programmatically within the flask server. How do I do this?
Ideally there will be a method that takes a 2 arguments: either of [json string/python dict/json filename/json file] and an output filename. It will save any of these to a CSV file of the given output filename.
Maybe we can just write a few lines of code that does this. I think the json2csv library is unnecessarily big for our usage.