Full YAML is more than indentation
Real configuration YAML uses features casual converters miss: anchors (&base) and aliases (*base) that reuse blocks, merge keys (<<:) that compose defaults, literal (|) and folded (>) multi-line strings, and explicit tags. This converter uses a complete YAML parser, so those constructs resolve correctly — an alias expands to its anchored value in the JSON output, and a literal block becomes a string with its line breaks preserved as \n.
The gotchas YAML is famous for
YAML’s convenience syntax has sharp edges worth knowing when you inspect the JSON output. Unquoted no, off, and n were booleans in YAML 1.1 — the infamous "Norway problem" where a country code becomes false; modern parsers treat them as strings, but quoted values are always safest. Unquoted version numbers like 3.10 parse as the number 3.1. And tabs are illegal for indentation — a mixed-tabs file fails with a pointer to the offending line. Converting to JSON is actually a good audit: types become explicit, so surprises surface immediately.