Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from json2xml import json2xml
from json2xml.utils import readfromurl, readfromstring, readfromjson
data = '''{
"name": "John",
"job": "Engineer",
"dob": "23-04-1986",
"age": 34,
"country": "Brazil"
data = readfromjson("user.json")
print(json2xml.Json2xml(data, attr_type=False).to_xml())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.