Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 505 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 505 Bytes

y2j2y

Build Status

yaml to json / json to yaml converter.

Install

Download from release page.

Example

$ cat yaml.yaml
yaml:
  hello: world
  array:
    - 1
    - 2
    - 3
    
$ cat yaml.yaml | yaml2json
{"yaml":{"hello":"world","array":[1,2,3]}}

% cat yaml.yaml | yaml2json | json2yaml
yaml:
  array:
  - 1
  - 2
  - 3
  hello: world