Skip to content

Files

Latest commit

 

History

History

CSVtoJSON script

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

CSV to JSON converter script

Input

  • Create an input.csv file with top row containing column names and rows below that as contents under corresponding columns. Each column should be comma-separated.
  • Create an empty output.json file.
  • Edit the file path defined by the variables csv_file and json_file and run the script.

    Output

  • output.json file will contain the data of input.csv file in json format.

    Author(s)

    Prerna Mittal