Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 487 Bytes

File metadata and controls

12 lines (9 loc) · 487 Bytes

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