Below is an example of the original JSON to XML and the result.
Original JSON to XML Example{ "book": { "-category": "yttags", "-cover": "yttags", "title": { "-lang": "en", "#text": "Learning XML" }, "author": "yttags", "year": "2023", "price": "100" } }
And an example of how the online JSON to XML works.
JSON to XML Result<?xml version="1.0" encoding="UTF-8" ?> <root> <book category="yttags" cover="yttags"> <title lang="en">Learning XML</title> <author>yttags</author> <year>2023</year> <price>100</price> </book> </root>