Skip to content
zarinpyPublic

About

a convertor, json to xml

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

a tool to convert json to xml


Usage

Install with pip:

pip install json2xml

use Json2Xml class to convert json to xml

from json2xml import Json2Xml
d={
        "name": "John",
        "age": 30,
        "cars": [{"name": "Ford"}],
        "family": "johnson",
    }
result = json2xml(d)
print(result)
<name>John</name>
<age>30</age>
<cars>
    <name>Ford</name>
</cars>
<family>johnson</family>

"""

License

json2xml is released under the MIT License. See the bundled LICENSE file for details.

About

a convertor, json to xml

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages