aboutsummaryrefslogtreecommitdiffstats
path: root/mapreduce/xml2json.py
blob: df5064f2d1463f5bfed0860a9f2f8988c8440c8f (plain)
1
2
3
4
5
6
7

import json
import xmltodict

with open('tests/files/23b29ea36382680716be08fc71aa81bd226e8a85.xml', 'rb') as f:
    thing = xmltodict.parse(f, process_namespaces=False)
    print(json.dumps(thing))