Xmljson

Latest version: v0.2.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.0

~~~~~~~~~~~~~~~~~~~~~
- ``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)

0.1.9

~~~~~~~~~~~~~~~~~~

- Bugfix and test cases for multiple nested children in Abdera_ convention

Thanks to mukultaneja

0.1.8

~~~~~~~~~~~~~~~~~~

- Add Abdera_ and Cobra_ conventions
- Add ``Parker.data(preserve_root=True)`` option to preserve root element in
Parker convention.

Thanks to dagwieers

.. _Abdera: http://wiki.open311.org/JSON_and_XML_Conversion/the-abdera-convention
.. _Cobra: http://wiki.open311.org/JSON_and_XML_Conversion/the-cobra-convention

0.1.6

~~~~~~~~~~~~~~~~~~~

- Add ``xml_fromstring=`` and ``xml_tostring=`` parameters to constructor to
customise string conversion from and to XML.

0.1.5

~~~~~~~~~~~~~~~~~~~

- Add the Yahoo_ XML to JSON conversion method.

.. _Yahoo: https://developer.yahoo.com/javascript/json.htmlxml

0.1.4

~~~~~~~~~~~~~~~~~~~

- Fix ``GData.etree()`` conversion of attributes. (They were ignored. They
should be added as-is.)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.