yaml2json
A command-line tool that converts YAML to JSON.
Installation
Cargo
$ cargo install yaml2json
Usage
Convert YAML on stdin to JSON, filtering it through jq:
$ yaml2json <<< 'okay = "ok"' | jqConvert YAML from a file and pretty-print it without jq:
$ yaml2json --pretty ./demo.yaml