JSON to YAML Converter
Convert or Transform JSON (Javascript Object Notation) Text into YAML (YAML Ain't Markup Language) Format
JSON to YAML Converter
Note: The output is sorted alphabetically
What is JSON ?
JSON (JavaScript Object Notation) is a file format or structure that uses human-readable text for transmitting data or objects such as text, number, list, object( yes, javascript object), and others.
JSON object is native in Javasscript and can be seen as key - value pair. JSON is pretty common object used to send data over the internet.
Sample of JSON Formatted Text :
{
"name" : "doggy",
"skills" : [
{"duration":5, "name":"bark"},
{"duration":2, "name":"smile"},
{"duration":99999, "name":"loving"}
]
}
What is YAML ?
YAML (YAML Ain't Markup Language) is a data serialization standard or format which is human friendly. If you notice the syntax, is is pretty similar to Python syntax because of the indentation. Yes, indentation is important on YAML(the indentation before text) , so if you miss the indentation before the text, your YAML text may no longer valid. By using indentation, YAML text also more easier to read
Sample of YAML Formatted Text :
name: doggy
skills:
- duration: 5
name: bark
- duration: 2
name: smile
- duration: 99999
name: loving