| Package | Description |
|---|---|
| com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances. |
| Modifier and Type | Method and Description |
|---|---|
static StreamReadConstraints.Builder |
StreamReadConstraints.builder() |
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxDocumentLength(long maxDocLen)
Sets the maximum allowed document length (for positive values over 0) or
indicate that any length is acceptable (
0 or negative number). |
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxNameLength(int maxNameLen)
Sets the maximum name length (in chars or bytes, depending on input context).
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxNestingDepth(int maxNestingDepth)
Sets the maximum nesting depth.
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxNumberLength(int maxNumLen)
Sets the maximum number length (in chars or bytes, depending on input context).
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxStringLength(int maxStringLen)
Sets the maximum string length (in chars or bytes, depending on input context).
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxTokenCount(long maxTokenCount)
Sets the maximum allowed token count (for positive values over 0) or
indicate that any count is acceptable (
0 or negative number). |
StreamReadConstraints.Builder |
StreamReadConstraints.rebuild() |
Copyright © 2008–2025 FasterXML. All rights reserved.