Convert JSON to XML in Python

前端 未结 5 753
野趣味
野趣味 2020-12-01 07:40

I see a number of questions on SO asking about ways to convert XML to JSON, but I\'m interested in going the other way. Is there a python library for converting JSON to XML?

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-01 08:08

    Load it into a dict using json.loads then use anything from this question...

    Serialize Python dictionary to XML

提交回复
热议问题