Skip to content

ademilly/jsonifycsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonifycsv

Converts a CSV file to a JSON string dumped into stdout.

Install

Using go toolchain:

    $ go get github.com/ademilly/jsonifycsv

Usage

Inline arguments:

  • filename: path to CSV file
  • sep: separator character used in CSV file
    $ jsonifycsv -h
    => display inline help
    $ jsonifycsv -filename path_to_csv -sep 'some_character'
    => converts file at 'path_to_csv' with sep 'some_character' into a json string
    $ jsonifycsv -filename path_to_csv -sep 'some_character' > path_to_json
    => converts file at 'path_to_csv' with sep 'some_character' into a json string and pipe it to 'path_to_json'

About

JSONify CSV file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages