How to use YAML to JSON
How do I use it?
- Pastes a YamL 1.2 document, selects the JSON indentation and converts.
- Copy or download JSON after checking the results. Reverse conversion can be done with the JSON workstation.
How it works and example
The map and sequence of YAML are changed to JSON objects and arrays, respectively. The comment does not enter JSON, with a large integer number to output the full JSON digital volume.
a: [1, true] converted to {"a":[1,true]}, with the blanks changing with indentation settings.
Input limits
- Repeat key, non-string map key, multiple documents, values that cannot be safely converted, and loop references. Alien names only allow limited extension.