A lightweight conversion tool for converting json
to csv
, or csv
to json
.
Usage:
Paste the json
you want to convert into the input.json
file.
Read results in output.csv
file.
Paste the csv
you want to convert into the input.csv
file.
Read results in output.json
file.
Run:
$ cd (path to json-csv-converter folder)
$ python3 jsontocsv.py
$ python3 csvtojson.py
You'll find a standalone version in the JsonCsv
folder.
This script can be run in situ or from any directory simply by copying the convert.py
file to that directory, i.e., your Desktop.
python 3x
Don't forget to save or rename the output file if you want to keep it.
Limitations:
All versions will only convert single layer json
arrays.
Feel free to modify the files to suit your needs.
LICENSE: MIT License