XML to JSON Converter
Convert or Transform XML (Extensible Markup Language) Text into JSON (Javascript Object Notation) Format
XML to YAML Converter
Note: The output is sorted alphabetically
What is XML ?
XML (Extensible Markup Language) is a markup language (remmber HTML?) designed to store and transport data. If you already familiar with HTML, you may notice that the syntax of XML and HTML is pretty close. But XML is often used to represent data and the child is enclosed by their parent.
Sample of XML Formatted Text :
<?xml version="1.0" encoding="UTF-8"?>
<name>doggy</name>
<skills>
<duration>5</duration>
<name>bark</name>
</skills>
<skills>
<duration>2</duration>
<name>smile</name>
</skills>
<skills>
<duration>99999</duration>
<name>loving</name>
</skills>
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"}
]