Constructor
new SWEXmlStreamParser(xml)
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
xml |
String | undefined | - |
Methods
setXml(xml)
Sets the xml file to parse.
Parameters:
| Name | Type | Description |
|---|---|---|
xml |
String | - |
toJson() → {Object}
Gets the result of the parsing as Json object.
Returns:
The JSON result
- Type
- Object