Skip to content
Transparent conversion between XML and JSON
Failed to load latest commit information.
README first commit Oct 19, 2011
elementtree-json.py First implementation in ElementTree. Oct 19, 2011

README

XMLJSON transparent conversion

Within XEP-xxxx: JSON Content Type support <http://xmpp.org/extensions/inbox/json.html> I found a transparent way to convert between XML and JSON. Now there are some Python things online that 'claim' to do transparent conversions, I have had a very hard time finding anything that really worked.

Thus I implement this 'schema' myself. The problem here is that ElementTree can't do a transparent conversion, because it actively parses xmlns and likes. But the idea is actually quite clear, and maybe it is actually better to 'preprocess' these namespaces anyway.
Something went wrong with that request. Please try again.