| Modifier and Type | Field and Description |
|---|---|
| protected byte[] | _binaryValue
We will hold on to decoded binary data, for duration of
current event, so that multiple calls to
|
| protected boolean | _closed
Flag that indicates whether parser is closed or not. |
| protected long | _currInputProcessed
Number of characters/bytes that were contained in previous blocks (blocks that were already processed prior to the current buffer). |
| protected int | _formatFeatures
Bit flag composed of bits that indicate which
|
| protected int | _inputEnd
Index of character after last available one in the buffer. |
| protected int | _inputPtr
Pointer to next available character in buffer |
| protected final IOContext | _ioContext
I/O context for this reader. |
| protected boolean | _mayContainRawBinary
Flag that indicates whether content can legally have raw (unquoted) binary data. |
| protected boolean | _nameCopied
Flag set to indicate whether the field name is available from the name copy buffer or not (in addition to its String representation being available via read context) |
| protected char[] | _nameCopyBuffer
Temporary buffer that is needed if field name is accessed
using |
| protected BigDecimal | |
| protected BigInteger | |
| protected double | |
| protected float | |
| protected int | |
| protected long | |
| protected JsonParser. | |
| protected int | _numTypesValid
Bitfield that indicates which numeric representations have been calculated for the current type |
| protected int | _quad1
Quads used for hash calculation |
| protected int | _quad2
Quads used for hash calculation |
| protected int | _quad3
Quads used for hash calculation |
| protected int[] | _quadBuffer
Temporary buffer used for name parsing. |
| protected int | |
| protected String[] | _seenNames
Array of recently seen field names, which may be back referenced by later fields. |
| protected int | |
| protected String[] | _seenStringValues
Array of recently seen field names, which may be back referenced by later fields Defaults set to disable handling if no header found. |
| protected JsonReadContext | _streamReadContext
Information about parser context, context in which the next token is to be parsed (root, array, object). |
| protected final ByteQuadsCanonicalizer | _symbols
Symbol table that contains field names encountered so far |
| protected final boolean | _symbolsCanonical
Marker flag to indicate that standard symbol handling is used (one with symbol table assisted canonicalization. |
| protected final TextBuffer | _textBuffer
Buffer that contains contents of String values, including field names if necessary (name split across boundary, contains escape sequence, or access needed to char array) |
| protected int | _tokenOffsetForTotal
Alternative to |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final String[] | |
| protected static final JacksonFeatureSet |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| protected void | _handleEOF()
Implements abstract com. Method called when an EOF is encountered between tokens. |
| protected abstract void | |
| protected final void | |
| protected abstract void | |
| protected void | |
| protected ContentReference | _sourceReference()
Helper method used to encapsulate logic of including (or not) of
"source reference" when constructing |
| public final void | close()
Implements abstract com. Implements java. Closes the parser so that no further iteration or data access
can be made; will also close the underlying input source
if parser either owns the input source, or feature
|
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| public final JsonLocation | currentLocation()
Overrides com. Overridden since we do not really have character-based locations, but we do have byte offset to specify. |
| public String | currentName()
Overrides com. Method that can be called to get the name associated with the current event. |
| public final JsonLocation | currentTokenLocation()
Overrides com. Overridden since we do not really have character-based locations, but we do have byte offset to specify. |
| public final BigInteger | getBigIntegerValue()
Implements abstract com. Numeric accessor that can be called when the current
token is of type |
| public JsonLocation | getCurrentLocation()
Implements abstract com.
Deprecated
Deprecated alias for |
| public String | getCurrentName()
Implements abstract com.
Deprecated
Deprecated alias of |
| public final BigDecimal | getDecimalValue()
Implements abstract com. Numeric accessor that can be called when the current
token is of type |
| public final double | getDoubleValue()
Implements abstract com. Numeric accessor that can be called when the current
token is of type |
| public final float | getFloatValue()
Implements abstract com. Numeric accessor that can be called when the current
token is of type |
| public final int | getFormatFeatures()
Overrides com. Bulk access method for getting state of all |
| public final int | getIntValue()
Implements abstract com. Numeric accessor that can be called when the current
token is of type |
| public final long | getLongValue()
Implements abstract com. Numeric accessor that can be called when the current
token is of type |
| public final JsonParser. | getNumberType()
Implements abstract com. If current token is of type
|
| public JsonParser. | getNumberTypeFP()
Overrides com. If current token is of type
|
| public final Number | getNumberValue()
Implements abstract com. Generic number value accessor method that will work for all kinds of numeric values. |
| public final Number | getNumberValueExact()
Overrides com. Method similar to |
| public final JsonReadContext | getParsingContext()
Implements abstract com. Method that can be used to access current parsing context reader is in. There are 3 different types: root, array and object contexts, with slightly different available information. |
| public JacksonFeatureSet | getReadCapabilities()
Overrides com. Accessor for getting metadata on capabilities of this parser, based on underlying data format being read (directly or indirectly). |
| public JsonLocation | getTokenLocation()
Implements abstract com.
Deprecated
Deprecated alias for |
| public final boolean | isClosed()
Implements abstract com. Method that can be called to determine whether this parser is closed or not. |
| public final boolean | isNaN()
Overrides com. Accessor for checking whether current token is a special "not-a-number" (NaN) token (including both "NaN" AND positive/negative infinity!). |
| public final boolean | |
| public final void | overrideCurrentName(String
Name to use as the current name; may be null. name)Implements abstract com. Method that can be used to change what is considered to be the current (field) name. |
| public final JsonParser | overrideFormatFeatures(int
Bit mask of set/clear state for features to change values, int Bit mask of features to change mask)Overrides com. Bulk set method for (re)setting states of |
| public final Version | version()
Implements abstract com. Implements com. Accessor for getting version of the core package, given a parser instance. |