Are you aware of any good Python JSON <-> XML
parser that could do the following:
Use the following JSON:
var json = {
"root_element_name" : {
"attr1" : "value",
"attr2" : "value",
"elements": {
"element_name1" : "value",
"element_name2" : "value"
}
}
}
and convert to the following XML & vice versa:
<root_element_name attr1="value" attr2="value" >
<option name="element_name1" value="value"/>
<option name="element_name2" value="value"/>
</root_element_name>
Any suggestions much appreciated.