Read in a full-spec CSV (y'know, the nasty kind with escaped quotes, newlines, and a variable number of columns), get back JSON
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AJ ONeal aa5c081078 Initial commit 5 years ago
.gitignore Initial commit 5 years ago
LICENSE Initial commit 5 years ago
README.md Initial commit 5 years ago
csv.go Initial commit 5 years ago

README.md

go-csv-to-json

Read in a full-spec CSV (y'know, the nasty kind), get back JSON.

  • escaped quotes
  • newlines
  • a variable number of columns

(all standard Go csv parser stuff)

Usage

git clone https://git.coolaj86.com/coolaj86/go-csv-to-json.git
pushd go-csv-to-json/
go run csv.go /path/to/import.csv /path/to/export.json

TODO

Web API