This file ( 537B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
README.md
# Simple XML2JSON Parser.
It does not parse the following elements:
* CDATA sections
* Processing instructions
* XML declarations
* Entity declarations
* Comments
## Installation
npm install xml2json
## Usage
```javascript
var parser = require('xml2json');
var xml = "<foo>bar</foo>";
var json = parser.toJson(xml); //returns an string by default
console.log(json);
```
if you want to get the Javascript object then you might want to invoke parser.toJson(xml, true);
## License
Copyright 2011 BugLabs Inc. All rights reserved.