Skip to content

skinkie/xmljson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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.

About

Transparent conversion between XML and JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published