- Download the repository as a .zip or git clone into into a local repository (
git clone https://github.com/TID-Lab/json2csv-aggie.git)
-
cdto the location where you downloaded/cloned the repository -
IMPORTANT: Open
json_to.csv.pyand change theCSV_HEADER_ROWto match the headers you want to output in CSV -
Run
$ python json_to_csv -i <INPUTFILE> o- <OUTPUTFILE>where INPUTFILE is the JSON file you want to convert and OUTPUTFILE is the csv you want to save to.