Converting CSV to JSON with Kanso
- Create a CSV file with the first line being the property names of your objects.
kanso transform csv <source> <destination>- Destination file will be a nice JSON file.
Example:
```Workbook1.csv collection,order,item gender,1,Male gender,2,Female
$ kanso transform csv ~/Desktop/Workbook1.csv blah.json Transformed 100 rows Transformed 200 rows Transformed 300 rows Transformed 354 rows OK: Saved 354 entries to blah.json
[ {"collection":"gender","order":"1","item":"Male"}, {"collection":"gender","order":"2","item":"Female"} ] ```