History¶
0.2.0 (21 Nov 2018)¶
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)
0.1.9 (1 Aug 2017)¶
- Bugfix and test cases for multiple nested children in Abdera convention
Thanks to @mukultaneja
0.1.8 (9 May 2017)¶
- Add Abdera and Cobra conventions
- Add
Parker.data(preserve_root=True)option to preserve root element in Parker convention.
Thanks to @dagwieers
0.1.6 (18 Feb 2016)¶
- Add
xml_fromstring=andxml_tostring=parameters to constructor to customise string conversion from and to XML.
0.1.4 (20 Sep 2015)¶
- Fix
GData.etree()conversion of attributes. (They were ignored. They should be added as-is.)
0.1.3 (20 Sep 2015)¶
- 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
0.1.2 (18 Sep 2015)¶
- 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
0.1.1 (18 Sep 2015)¶
- Convert
true,falseand numeric values from strings to Python types xmljson.parker.data()is compliant with Parker convention (bugs resolved)
0.1.0 (15 Sep 2015)¶
- Two-way conversions via BadgerFish, GData and Parker conventions.
- First release on PyPI.