json2csv
json2csv copied to clipboard
Convert JSON to CSV (go package and command line tool)
I tried converting JSON('string not struct') to CSV but got an Unsupported JSON structure. error  ```go package main import ( "github.com/yukithm/json2csv" ) func main() { as := `[ {...
I'm looking for a go-based replacement of the npm-based [json2csv](https://github.com/zemirco/json2csv) but there are some features missing that still require some pre-processing of data before it can be fed into this...
return detailed json parse error including line and column info idea took from https://github.com/golang/go/issues/43513#issuecomment-755754498
It seems like the tool can't preserve JSON keys order.
I'm trying to download and run the binary file, but macOS prevents it, because cannot verify it Could you please release the binary file to the homebrew or to the...
Hi, I'm trying to install the tool using go get method, but am getting an error: ```shell 21-02-03 18:44 % go get github.com/yukithm/json2csv/cmd/json2csv # github.com/yukithm/json2csv/cmd/json2csv go/src/github.com/yukithm/json2csv/cmd/json2csv/main.go:68:17: cannot use cli.StringFlag literal...
``` $ go get github.com/yukithm/json2csv/cmd/json2csv # github.com/yukithm/json2csv/cmd/json2csv go/src/github.com/yukithm/json2csv/cmd/json2csv/main.go:68:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal: cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)...
Hey, I had problems with tool converting Arabic texts from JSON to CSV.
# What I'd like Example input: ```ndjson {"a":1,"b":2,"c":3} {"a":4,"b":5,"c":6} {"a":7,"b":8,"c":9} ``` Desired output: ```csv a,b,c 1,2,3 4,5,6 7,8,9 ``` # Implementation ideas ## Option 1. _Only_ newline-delimited json 1. Add...