Skip to content

🇵 Python Script: XML To JSON Conversion Tool.

Notifications You must be signed in to change notification settings

surajkareppagol/Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML to JSON

A python script which parses the XML and converts it into JSON.

python main.py <file-path> [options]
python main.py --help

Use -o option to pass the output file name.

python main.py example.xml -o output.json

Here is an example,

XML File,

xml file

Converted JSON File,

json file

NOTE

The file should not contain more than one tag with same name on same level.

About

🇵 Python Script: XML To JSON Conversion Tool.

Topics

Resources

Stars

Watchers

Forks

Languages