| Modifier and Type | Field and Description |
|---|---|
static JSONMLParserConfiguration |
JSONMLParserConfiguration.KEEP_STRINGS
Original configuration of the XML to JSONML Parser except that values are kept as strings.
|
static JSONMLParserConfiguration |
JSONMLParserConfiguration.ORIGINAL
Original Configuration of the XML to JSONML Parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected JSONMLParserConfiguration |
JSONMLParserConfiguration.clone()
Provides a new instance of the same configuration.
|
JSONMLParserConfiguration |
JSONMLParserConfiguration.withKeepStrings(boolean newVal) |
JSONMLParserConfiguration |
JSONMLParserConfiguration.withMaxNestingDepth(int maxNestingDepth) |
| Modifier and Type | Method and Description |
|---|---|
static JSONArray |
JSONML.toJSONArray(String string,
JSONMLParserConfiguration config)
Convert a well-formed (but not necessarily valid) XML string into a
JSONArray using the JsonML transform.
|
static JSONArray |
JSONML.toJSONArray(XMLTokener x,
JSONMLParserConfiguration config)
Convert a well-formed (but not necessarily valid) XML string into a
JSONArray using the JsonML transform.
|
static JSONObject |
JSONML.toJSONObject(String string,
JSONMLParserConfiguration config)
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject using the JsonML transform.
|
static JSONObject |
JSONML.toJSONObject(XMLTokener x,
JSONMLParserConfiguration config)
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject using the JsonML transform.
|
Copyright © 2024. All rights reserved.