- Input: It have a json object, such as "root" object
- Output: and now, how to convert to a xml format like this:
- Program Language, you can use node, java,etc
Input json object:
"root" :{
"Yylb": {
"Yylb_id": [1,2]
},
"Fj": [
{
"Fjxx":1
},
{
"Fjxx":2
}
]
}
Outpu xml format:
<root>
<Yylb>
<Yylb_id>1</Yylb_id>
<Yylb_id>1</Yylb_id>
</Yylb>
<Fj>
<Fjxx>1</Fjxx>
</Fj>
<Fj>
<Fjxx>2</Fjxx>
</Fj>
</root>