How to use the yaml to json converter
- Choose YAML → JSON or JSON → YAML.
- Paste your data.
- Copy the converted result.
Good to know
Values are read with the YAML core schema, so yes and no stay strings rather than turning into true and false. A file with several documents separated by --- becomes a JSON array. Comments can’t be represented in JSON, so they are dropped.
Examples
{"tags": ["a", "b"]}
port: 8080