Skip to content

divyekapoor/csv_to_json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csv_to_json

Takes in a CSV file and transforms it to JSON. Each line of the CSV file gets it's own line in the JSON file.

travis-ci build status

$ cat input.csv
Name,Age,Country
Divye,7,USA
Divya,6,India
$ csv_to_json < input.csv
[{"Name": "Divye","Age": "7","Country": "USA"},
{"Name": "Divya","Age": "6","Country": "India"}]

Install

$ ./configure
$ make
$ sudo make install

for Debian and Debian-like systems (eg. Ubuntu). The only dependency is the Rust compiler. Compiled with Rust 1.7.

About

Takes in a CSV file and transform it to JSON.

Resources

License

Stars

Watchers

Forks

Packages

No packages published