Convert YAML to JSON

Output YAML document as JSON

yq -o=json '.' config.yaml

tool
yq15 commands
tags
yq

More yq commands

all 15 yq commands