How it works
Objects become nested keys and arrays become dash lists. Strings that could be mistaken for other types, such as "true" or "123", are quoted.
Frequently asked questions
Are comments kept?
JSON has no comments, so the YAML output has none either.