Convert YAML to JSON yq

Output YAML document as JSON

yq -o=json '.' config.yaml
#yq