Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 418 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 418 Bytes

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