Skip to main content

To covert json data to xml data

Project description

##About

[![Build Status](https://travis-ci.org/vinitkumar/json2xml.svg?branch=master)](https://travis-ci.org/vinitkumar/json2xml)

A Simple python utility to convert JSON to xml. It support conversation from a json file or from an URL. (Supports both Python2.7.x and 3.5.x)

### How to install

` # python2 pip install json2xml # python3 pip3 install json2xml `

###How to use

#### From JSON File

`python from json2xml.json2xml import Json2xml data = Json2xml.fromjsonfile('examples/example.json').data data_object = Json2xml(data) data_object.json2xml() `

#### From WEB Url

`python from json2xml.json2xml import Json2xml data = data = Json2xml.fromurl('https://coderwall.com/vinitcool76.json').data data_object = Json2xml(data) data_object.json2xml() `

These are two simple ways you can use this utility.

### Bugs, features

Create an issue in the repository and if you have a new feature that you want to add, please send a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

json2xml-1.1.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

json2xml-1.2.0-py3.6.egg (4.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page