yaml2json
yaml2json OPTIONS [YAML_FILENAME] [JSON_NAME]
yaml2json is a tool that converts YAML into JSON. The program reads from standard input and writes to standard out.
These would get the file named “my.yaml” and save it as my.json
yaml2json my.yaml > my.json
yaml2json my.yaml my.json
cat my.yaml | yaml2json -i - > my.json
yaml2json 1.2.10