csv2json is a program that can parse csv files to json. This program follows the Unix philosophy in that it has a very concise purpose. Because of this, the json is sent to stdout, to be consumed by another program in whatever way you see fit.
- to build yourself, you must have Go v 1.13+ installed
go install github.com/rnemeth90/csv2json@latest
Or download the latest release here
./csv2json example.csv
# Or read from stdout:
wget -qO- https://raw.githubusercontent.com/rnemeth90/csv2json/main/example.csv | csv2json
If you need help, submit an issue
- Read csv input from stdout (sent from another program)
- Add automated builds for binary distribution
- add cli args
- update usage()
- 0.3
- Rewrite algorithm for conversion
- 0.2
- Various bug fixes and optimizations
- 0.1
- Initial Release
This project is licensed under the MIT License - see the LICENSE.md file for details