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