Convert YAML files to JSON format from the command line.
Command-line tool convert from YAML to JSON
yaml2json$ yaml2json input.yaml$ yaml2json input.yaml > output.json$ cat config.yaml | yaml2json$ yaml2json input.yaml | jq .$ for file in *.yaml; do yaml2json "$file" > "${file%.yaml}.json"; done