5 releases
0.1.5 | Oct 11, 2022 |
---|---|
0.1.4 | Mar 19, 2019 |
0.1.3 | Mar 19, 2019 |
0.1.2 | Mar 18, 2019 |
0.1.0 | Oct 9, 2018 |
#2086 in Encoding
19KB
492 lines
rs-cjy
Convert between CSV, JSON, YAML.
Install
After installation, you will get two executable binaries named csv-json
, json-yaml
and csv-yaml
.
Usage
They all accept from STDIN, print to STDOUT, and will try to dentect the input type then print as another type. If you want print pretty JSON, add PRETTY=1
environment.
TODO
- keep order of headers
- parse for different field types
Dependencies
~3MB
~47K SLoC