Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 567 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 567 Bytes

csv-to-json

A repository containing a program that converts files from CSV format to JSON format. The input files are expected to be an orders file, containing order IDs and order names, and a dependency file, containing parent and child IDs. Example files are included under the tests directory.

This program can be run by entering python3 csvToJSON.py [orders file] [dependency file] [output file]. Alternatively, an example can be run by entering python3 csvToJSONTests.py, which will run a number of tests on the files included in the tests directory.