3 ms·
gojq (https://github.com/itchyny/gojq https://github.com/itchyny/gojq) and fq (https://github.com/wader/fq https://github.com/wader/fq) can read YAML and output
by jwilk 4y ago
gojq (https://github.com/itchyny/gojq https://github.com/itchyny/gojq) and fq (https://github.com/wader/fq https://github.com/wader/fq) can read YAML and output JSON.
But that won't nescessarily help, because other parsers can intepreret that YAML differently.