import xmltodict,json with open('data_l1.xml', 'r') as myfile: obj = xmltodict.parse(myfile.read()) print(json.dumps(obj)) print(obj["employees"]["employee"]['name'])
-
Notifications
You must be signed in to change notification settings - Fork 0
kaamapulyaaa/xml-to-json
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published