xmljsoncommand line script converts from XML to JSON (@tribals)invalid_tags='drop'in the constructor drops invalid XML tags in.etree()(@Zurga)- Bugfix: Parker converts {'x': null} to <x></x> instead of <x>None</x> (@jorndoe #29)
- Bugfix and test cases for multiple nested children in Abdera convention
Thanks to @mukultaneja
- Add Abdera and Cobra conventions
- Add
Parker.data(preserve_root=True)option to preserve root element in Parker convention.
Thanks to @dagwieers
- Add
xml_fromstring=andxml_tostring=parameters to constructor to customise string conversion from and to XML.
- Add the Yahoo XML to JSON conversion method.
- Fix
GData.etree()conversion of attributes. (They were ignored. They should be added as-is.)
- Simplify
{'p': {'$': 'text'}}to{'p': 'text'}in BadgerFish and GData conventions. - Add test cases for
.etree()-- mainly from the MDN JXON article. dict_type/list_typedo not need to inherit fromdict/list
- Always use the
dict_typeclass to create dictionaries (which defaults toOrderedDictto preserve order of keys) - Update documentation, test cases
- Remove support for Python 2.6 (since we need
collections.Counter) - Make the Travis CI build pass
- Convert
true,falseand numeric values from strings to Python types xmljson.parker.data()is compliant with Parker convention (bugs resolved)
- Two-way conversions via BadgerFish, GData and Parker conventions.
- First release on PyPI.