public class JSONParserConfiguration extends ParserConfiguration
DEFAULT_MAXIMUM_NESTING_DEPTH, keepStrings, maxNestingDepth, UNDEFINED_MAXIMUM_NESTING_DEPTH
Constructor and Description |
---|
JSONParserConfiguration()
Configuration with the default values.
|
Modifier and Type | Method and Description |
---|---|
protected JSONParserConfiguration |
clone()
Provides a new instance of the same configuration.
|
JSONParserConfiguration |
withMaxNestingDepth(int maxNestingDepth)
Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.
|
getMaxNestingDepth, isKeepStrings, withKeepStrings
public JSONParserConfiguration()
protected JSONParserConfiguration clone()
ParserConfiguration
clone
in class ParserConfiguration
public JSONParserConfiguration withMaxNestingDepth(int maxNestingDepth)
ParserConfiguration
withMaxNestingDepth
in class ParserConfiguration
maxNestingDepth
- the maximum nesting depth allowed to the XML parserCopyright © 2024. All rights reserved.