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

import json
import sys
import xmltodict

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