Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 761 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 761 Bytes

csv-json-converter

Steps to use

  1. Run the command make virtual-env to create a virtual environment once you download the project. (This step is optional)

  2. Add the csv files you want to convert at the root of this project.

  3. Change the name of the file in variable csv_file_path to that of the csv file you want to convert to json.

  4. Change the name of the file in variable json_file_path as required. This will be the new file that will be created once the conversion is complete.

  5. Run the command make run to create your json files from your given csv files.

  6. Similar steps can be followed for json to csv conversion by changing the main function.

Note: Incase of errors, please check the format of your given csv file.