Flask XML to JSON Converter

This is a Flask web application designed to convert XML data to JSON format. The application provides a user-friendly interface allowing users to input XML data and convert it to JSON. It is a pet project of mine which I wanted to do, so I just did it. With the plan to many more simple fun projects like this to keep the fun going.

Features

  • Convert XML data to JSON format.
  • Simple and intuitive web interface.
  • Error handling for invalid XML input.

Installation

Clone this repository to your local machine:

git clone https://github.com/SammithSB/xmltojson

Navigate to the project directory:

cd flask-xml-to-json-converter

Install the required dependencies using pip:

pip install -r requirements.txt

Usage
Start the Flask application by running the following command:

Open your web browser and navigate to http://127.0.0.1:5000.

In the "XML Editor" textarea, paste your XML data.

Click the "Convert" button.

The JSON output will be displayed in the "JSON Output" textarea.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

Fork the repository. Create a new branch (git checkout -b feature/my-feature). Make your changes. Commit your changes (git commit -am 'Add new feature'). Push to the branch (git push origin feature/my-feature). Create a new Pull Request.