-
Run the command
make virtual-env
to create a virtual environment once you download the project. (This step is optional) -
Add the csv files you want to convert at the root of this project.
-
Change the name of the file in variable csv_file_path to that of the csv file you want to convert to json.
-
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.
-
Run the command
make run
to create your json files from your given csv files. -
Similar steps can be followed for json to csv conversion by changing the main function.