将 JSON 数据转换为 XML 格式。将结构化的 JSON 对象转换为格式良好的 XML 文档。
Convert a simple JSON object into an XML format.
{
"users": [
{
"name": "John",
"age": 30,
"city": "New York"
},
{
"name": "Alice",
"age": 25,
"city": "London"
}
]
}<root> <users> <name>John</name> <age>30</age> <city>New York</city> </users> <users> <name>Alice</name> <age>25</age> <city>London</city> </users> </root>