| Modifier and Type | Field | Description |
|---|---|---|
static XMLParserConfiguration |
XMLParserConfiguration.KEEP_STRINGS |
Original configuration of the XML Parser except that values are kept as strings.
|
static XMLParserConfiguration |
XMLParserConfiguration.ORIGINAL |
Original Configuration of the XML Parser.
|
| Modifier and Type | Method | Description |
|---|---|---|
static JSONObject |
XML.toJSONObject(java.io.Reader reader,
XMLParserConfiguration config) |
Convert a well-formed (but not necessarily valid) XML into a
JSONObject.
|
static JSONObject |
XML.toJSONObject(java.lang.String string,
XMLParserConfiguration config) |
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject.
|
static java.lang.String |
XML.toString(java.lang.Object object,
java.lang.String tagName,
XMLParserConfiguration config) |
Convert a JSONObject into a well-formed, element-normal XML string.
|
Copyright © 2019. All Rights Reserved.