Skip to content
/ csv2json Public

Command-line tool to convert csv to json, written in Swift.

Notifications You must be signed in to change notification settings

hadig/csv2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csv2json

Command-line tool to convert csv to json, written in Swift.

How to use:

git clone https://github.com/hadig/csv2json.git
swift run csv2json -i input.csv -o output.json 

Details:

USAGE: csv2json --input <input> --output <output> [--delimiter <delimiter>] [--minify] [--verbose] [--clean]

OPTIONS:
  -i, --input <input>
  -o, --output <output>
  -d, --delimiter <delimiter> (default: ;)
  
  -m, --minify            Do not make output pretty.
  -v, --verbose           Print output.
  -c, --clean             Drop incomplete lines.
  -h, --help              Show help information.

About

Command-line tool to convert csv to json, written in Swift.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages