@Deprecated public class JSONMLParserConfiguration extends ParserConfiguration
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAXIMUM_NESTING_DEPTH
Deprecated.
We can override the default maximum nesting depth if needed.
|
static JSONMLParserConfiguration |
KEEP_STRINGS
Deprecated.
Original configuration of the XML to JSONML Parser except that values are kept as strings.
|
static JSONMLParserConfiguration |
ORIGINAL
Deprecated.
Original Configuration of the XML to JSONML Parser.
|
UNDEFINED_MAXIMUM_NESTING_DEPTH
Constructor and Description |
---|
JSONMLParserConfiguration()
Deprecated.
Default parser configuration.
|
Modifier and Type | Method and Description |
---|---|
JSONMLParserConfiguration |
withKeepStrings(boolean newVal)
Deprecated.
When parsing the XML into JSONML, specifies if values should be kept as strings (
true ), or if
they should try to be guessed into JSON values (numeric, boolean, string) |
JSONMLParserConfiguration |
withMaxNestingDepth(int maxNestingDepth)
Deprecated.
Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.
|
getMaxNestingDepth, isKeepStrings
public static final int DEFAULT_MAXIMUM_NESTING_DEPTH
public static final JSONMLParserConfiguration ORIGINAL
public static final JSONMLParserConfiguration KEEP_STRINGS
public JSONMLParserConfiguration()
public JSONMLParserConfiguration withKeepStrings(boolean newVal)
ParserConfiguration
true
), or if
they should try to be guessed into JSON values (numeric, boolean, string)withKeepStrings
in class ParserConfiguration
newVal
- new value to use for the keepStrings
configuration option.public JSONMLParserConfiguration withMaxNestingDepth(int maxNestingDepth)
ParserConfiguration
withMaxNestingDepth
in class ParserConfiguration
maxNestingDepth
- the maximum nesting depth allowed to the XML parserCopyright © 2010 - 2023 Adobe. All Rights Reserved