YAML and JSON
Paste a config in either shape and get the other one back. Handles nesting, lists, quoted keys, block text and inline collections.
YAML in
JSON out
Output appears here.
What is supported
This reads the everyday subset of YAML: block mappings and sequences,
inline [a, b] and {a: 1} collections, single and double quoted scalars,
| and > block text with chomping, comments, and the --- document marker.
Anchors, aliases, tags and multiple documents in one file are not handled - you will get a clear error
rather than a wrong answer.