org.json.XML.toString has a special case for the key "content" found in JSON files. json-to-xml renders {"a": {"content": {"b": "c"}}} as {"b":"c"} instead of <content>c</content>.
Attached is a patch which alters org.json.XML.toString to make this magic key configurable; JSONToXMLPlugin now uses a null key 'cause we never want this to happen...
I repeat with better markdown:
org.json.XML.toString
has a special case for the key"content"
found in JSON files. json-to-xml renders{"a": {"content": {"b": "c"}}}
as<a>{"b":"c"}</a>
instead of<a><content><b>c</b></content></a>
.