json-to-csv simple sync/async converter
project structure:
├── go.mod
├── jtoc.go
├── LICENSE
└── README.md
installation
go get github.com/kenjitheman/jtoc
usage
jtoc.Convert(jsonFilePath string, outputCsvFileName string)
jtoc.AsyncConvert(jsonFilePath string, outputCsvFileName string, numWorkers int)
jtoc.Convert("../man.json", "../man.csv")
jtoc.AsyncConvert("../man.json", "../man1.csv", 8)
contributing
- pull requests are welcome, for major changes, please open an issue first to
discuss what you would like to change
license