Converts XML data to JSON data.
Below is an example of the original XML to JSON and the result.
Original XML to JSON Example<?xml version="1.0" encoding="UTF-8" ?> <bookstore> <book category="Tools"> <title lang="en">pakainfo</title> <author>webix infoway</author> <year>2022</year> <price>150</price> </book> <book category="web"> <title lang="en">yttags</title> <author>Jaydeep Gondaliya</author> <author>Darshit Bhanderi</author> <author>Gopal Makvana</author> <author>Mihir Thumar</author> <year>2020</year> <price>200</price> </book> </bookstore>
And an example of how the online XML to JSON works.
XML to JSON Result{ "bookstore": { "book": [ { "-category": "Tools", "title": { "-lang": "en", "#text": "pakainfo" }, "author": "webix infoway", "year": "2022", "price": "150" }, { "-category": "web", "title": { "-lang": "en", "#text": "yttags" }, "author": [ "Jaydeep Gondaliya", "Darshit Bhanderi", "Gopal Makvana", "Mihir Thumar" ], "year": "2020", "price": "200" } ] } }