# xml2json 2.0.5

An XML to JSON conversion package.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'xml2json:2.0.5'
```
Published: 2014-09-18T10:37:51.833540Z
Expected archive SHA-256: e4b8ebab293b6f5416a652ff2ff89064f2816eeb8b59bb4a3d8058d4ffa92176

Available in cache; verification: upstream_checksum
## Direct dependencies
- petitparser: >=1.0.1 <=1.1.1

## Package README (untrusted upstream documentation)

# xml2json

An XML to JSON conversion package. [![Build Status](https://drone.io/github.com/shamblett/xml2json/status.png)](https://drone.io/github.com/shamblett/xml2json/latest)

This package allows the parsing of XML strings and the transformation of the resulting parse 
tree into the following XML JSON conventions :-

1. Parker
2. Badgerfish
3. Google Data(GData).

The package uses the [petitparser](http://pub.dartlang.org/packages/petitparser) XML parser to peform the parsing of XML data into a parse tree.

Exact transforming rules can be found in the 'Transforming Details' document in the docs folder.

The Parker convention is a lossy but lean conversion from XML into JSON, ideal for lightweight
XML parsing of collections of books, records etc. where attributes and namespace information
is not needed.

Badgerfish and GData both preserve XML information such as attributes and namespaces. These are more
suited to heavyweight XML parsing of say ATOM feeds where this information may be needed.

See the main Xml2Json class for usage.


## Changelog
## 2.0.5

Integrate with Dart's Drone IO testing

## 2.0.4

Browser is now a dev dependancy

## 2.0.3

Fixes for Dart V1.5 usage

## 2.0.2

Remove references to runtime type

## 2.0.1

Update dependencies to latest

## 2.0.0

Updates for Dart 1.0 release

## 1.1.0

* Fix the runtime type name change intoroduced in Dart r28101
* Generate API documents
* Package formatting updates






 
