How to use it
- Paste JSON or YAML.
- Leave Direction on Detect, or choose it.
- Copy the result.
Notes
JSON to YAML keeps long numbers as written. In YAML to JSON, very long unquoted numbers may lose digits, so quote IDs. YAML comments are not carried into JSON. A YAML file with several documents becomes a list.
Questions
Are comments kept?
No.
Is anchor syntax supported?
Anchors are read, and their values are written out in the JSON.