Skip to content

Collection of scripts to convert csv to json & vice-versa.

License

Notifications You must be signed in to change notification settings

randomeffect/csv-json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set of scripts to work with CSV & json files. I've written scrips for PowerShell & Python so far, the Python versions work better at this point. Within each folder there are the following scripts.

  • csv-to-json
  • csv-to-sqlite
  • json-to-csv
  • json-to-xml
  • json-to-sqlite
  • tsv-to-csv

In their current form they'll only work well with json files that have a flat architecture (no nested arrays or objects), but it woulnd't be difficult to extend them to handle a particular file. To use them, call the filename with the name of the file that you'd like to convert. The output file will have the same name with the updated extension. json-to-csv.py filename.json will produce filename.csv.

Use these scripts as you care to.

About

Collection of scripts to convert csv to json & vice-versa.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.8%
  • PowerShell 18.2%