Converts XML to JSON, plain and simple.
- Install xmltodict
$ pip install xmltodict
- This script converts a file named input.xml to output.json.
- Rename your file to input.xml
- Execute
python3 converter.py
- Or, if running in an IDE, simply run converter.py with your input.xml in the same folder.
Chris Morrison