yaml2json

Convert YAML files to JSON format from the command line

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tool convert from YAML to JSON

Commands

yaml2json

Examples

Convert a YAML file to JSON and output to stdout$ yaml2json input.yaml
Convert YAML file and save output to a JSON file$ yaml2json input.yaml > output.json
Convert YAML from stdin to JSON$ cat config.yaml | yaml2json