Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created February 21, 2014 23:50
Show Gist options
  • Save kelseyhightower/9146173 to your computer and use it in GitHub Desktop.
Save kelseyhightower/9146173 to your computer and use it in GitHub Desktop.
csv2json-cli
$ ./main -infile famous-gophers.csv
[
{
"Date": "1947",
"Name": "Mac",
"Title": "The Goofy Gophers"
},
{
"Date": "1947",
"Name": "Tosh",
"Title": "The Goofy Gophers"
},
{
"Date": "1966",
"Name": "Samuel J. Gopher",
"Title": "Winnie the Pooh"
},
{
"Date": "1968",
"Name": "Chief Running Board",
"Title": "Go Go Gophers"
},
{
"Date": "1968",
"Name": "Ruffled Feathers",
"Title": "Go Go Gophers"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment