NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4774 most downloaded on PyPI
Converts XML into JSON/Python dicts/arrays and vice-versa.
Last release 6 years ago
no release in 18 months
Ships fairly regularly
a new release about every 7 months
Nearly every release is documented
notes for 11 of 12 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
12 releases · first in 2015
Bugfix: Don't strip whitespace in xml text values (@imoore76)
Bugfix: Don't strip whitespace in xml text values (@imoore76)
Bugfix: Yahoo convention should convert <x>0</x> into {x: 0}. Empty elements become '' not {}
Suggest alternate libraries in documentation
xmljson command line script converts from XML to JSON (@tribals)
xmljson command 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)
One column per quarter.
Bugfix and test cases for multiple nested children in Abdera_ convention
Bugfix and test cases for multiple nested children in Abdera_ convention
Thanks to @mukultaneja
Add Abdera_ and Cobra_ conventions
Nothing published for this version
Add xml_fromstring= and xml_tostring= parameters to constructor to customise string conversion from and to XML.
Add xml_fromstring= and xml_tostring= parameters to constructor to customise string conversion from and to XML.
Add the Yahoo_ XML to JSON conversion method.
Add the Yahoo XML to JSON conversion method.
Fix GData.etree() conversion of attributes. (They were ignored. They should be added as-is.)
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.
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_type do not need to inherit from dict/list
Always use the dict_type class to create dictionaries (which defaults to OrderedDict to preserve order of keys)
Always use the dict_type class to create dictionaries (which defaults to OrderedDict to 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, false and numeric values from strings to Python types
Convert true, false and 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.
Two-way conversions via BadgerFish, GData and Parker conventions.
First release on PyPI.
Your coding agent can read these notes before it upgrades. Set up the MCP server →