Enter your JSON sample in the above textbox, it will be validated before converting into XML and then you will get XML output. Suppose you have below JSON
{
"root": {
"person": [
{
"id": "1",
"name": "Alan",
"url": "http://www.google.com"
},
{
"id": "2",
"name": "Louis",
"url": "http://www.yahoo.com"
}
]
}
}
Output:
<root>
<person>
<id>1</id>
<name>Alan</name>
<url>http://www.google.com</url>
</person>
<person>
<id>2</id>
<name>Louis</name>
<url>http://www.yahoo.com</url>
</person>
</root>