Frequently Asked Questions
What kind of YAML does this converter actually support?
It handles simple mappings, lists, nested objects, comments, and basic scalars. It is not a full YAML engine with anchors, tags, multi-document streams, or block scalar support.
Why did yes turn into true and ~ turn into null?
Those values are coerced on purpose by the built-in scalar parser. Unquoted yes/no become booleans, and null or ~ become JSON null.
Can I convert a top-level YAML list?
Yes. If your YAML starts with list items, the output becomes a JSON array instead of an object.
Why did quoted numbers stay strings?
Quoted values are preserved as strings. Only unquoted integers and decimals are converted to numbers.
What does the "invalid syntax, expected key: value" error really mean?
This parser expects every meaningful line to look like a list item or a key/value pair. If a line has plain words without a colon, it throws a line-specific error.