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, withKeepStringspublic JSONParserConfiguration()
protected JSONParserConfiguration clone()
ParserConfigurationclone in class ParserConfigurationpublic JSONParserConfiguration withMaxNestingDepth(int maxNestingDepth)
ParserConfigurationwithMaxNestingDepth in class ParserConfigurationmaxNestingDepth - the maximum nesting depth allowed to the XML parserCopyright © 2024. All rights reserved.