-
public interface JsonConfigConfiguration property names supported by Eclipse Parsson.
-
-
Field Summary
Fields Modifier and Type Field Description static StringMAX_BIGDECIMAL_LENConfiguration property to limit maximum value of BigDecimal length when being parsed.static StringMAX_BIGINTEGER_SCALEConfiguration property to limit maximum absolute value of BigInteger scale.static StringMAX_DEPTHConfiguration property to limit maximum level of nesting when being parsing JSON string.static StringMAX_PARSING_LIMITConfiguration property to limit the total number of characters consumed during parsing of a single JSON document.static StringREJECT_DUPLICATE_KEYSDeprecated.in favor ofJsonConfig.KEY_STRATEGY
-
-
-
Field Detail
-
MAX_BIGINTEGER_SCALE
static final String MAX_BIGINTEGER_SCALE
Configuration property to limit maximum absolute value of BigInteger scale. This property limits maximum absolute value of scale to be allowed inJsonNumber.bigIntegerValue()andJsonNumber.bigIntegerValueExact()implemented methods. Default value is set to100000.- See Also:
- Constant Field Values
-
MAX_BIGDECIMAL_LEN
static final String MAX_BIGDECIMAL_LEN
Configuration property to limit maximum value of BigDecimal length when being parsed. This property limits maximum number of characters of BigDecimal source being parsed. Default value is set to1100.- See Also:
- Constant Field Values
-
MAX_DEPTH
static final String MAX_DEPTH
Configuration property to limit maximum level of nesting when being parsing JSON string. Default value is set to1000.- See Also:
- Constant Field Values
-
MAX_PARSING_LIMIT
static final String MAX_PARSING_LIMIT
Configuration property to limit the total number of characters consumed during parsing of a single JSON document.This property limits all characters consumed by the tokenizer during parsing, including whitespace, structural characters, object member names, string values, number lexemes, and literal keywords.
Important: This limit represents the number of characters the parser must consume to complete parsing, which is higher than the literal JSON source length.
Default value is set to
15000000(15 million characters).- See Also:
- Constant Field Values
-
REJECT_DUPLICATE_KEYS
@Deprecated static final String REJECT_DUPLICATE_KEYS
Deprecated.in favor ofJsonConfig.KEY_STRATEGYConfiguration property to reject duplicate keys. The value of the property could be anything.- See Also:
- Constant Field Values
-
-