Class SmileParser
java.lang.Object
tools.jackson.core.JsonParser
tools.jackson.core.base.ParserMinimalBase
tools.jackson.dataformat.smile.SmileParserBase
tools.jackson.dataformat.smile.SmileParser
- All Implemented Interfaces:
Closeable, AutoCloseable, tools.jackson.core.Versioned
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.core.JsonParser
tools.jackson.core.JsonParser.NumberType, tools.jackson.core.JsonParser.NumberTypeFP -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanFlag that indicates whether the input buffer is recycable (and needs to be returned to recycler once we are done) or not.protected byte[]Current buffer from which data is read; generally data is read into buffer from input source, but in some cases pre-loaded buffer is handed to the parser.protected InputStreamInput stream that can be used for reading more content, if one in use.protected booleanFlag that indicates that the current token has not yet been fully processed, and needs to be finished for some access (or skipped to obtain the next token)protected intType byte of the current token (as in)private static final booleanFlag to indicate if the JDK version is 11 or later.Fields inherited from class SmileParserBase
_binaryValue, _currInputProcessed, _formatFeatures, _inputEnd, _inputPtr, _mayContainRawBinary, _numberBigDecimal, _numberBigInt, _numberDouble, _numberFloat, _numberInt, _numberLong, _numberType, _numTypesValid, _quad1, _quad2, _quad3, _quadBuffer, _seenNameCount, _seenNames, _seenStringValueCount, _seenStringValues, _streamReadContext, _symbols, _symbolsCanonical, _textBuffer, _tokenOffsetForTotal, DEFAULT_NAME_BUFFER_LENGTH, DEFAULT_STRING_VALUE_BUFFER_LENGTH, LONGEST_NON_CHUNKED_BINARY, NO_STRINGS, SMILE_READ_CAPABILITIESFields inherited from class tools.jackson.core.base.ParserMinimalBase
_closed, _currToken, _ioContext, _lastClearedToken, _objectReadContext, _streamReadConstraints, _streamReadFeatures, _tokenCount, _trackMaxTokenCount, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_RS, INT_SLASH, INT_SPACE, INT_TAB, MAX_BYTE_I, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MAX_SHORT_I, MIN_BYTE_I, MIN_INT_D, MIN_INT_L, MIN_LONG_D, MIN_SHORT_I, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN, STREAM_READ_FEATURE_DEFAULTSFields inherited from class tools.jackson.core.JsonParser
DEFAULT_READ_CAPABILITIES -
Constructor Summary
ConstructorsConstructorDescriptionSmileParser(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.io.IOContext ctxt, int parserFeatures, int smileFeatures, tools.jackson.core.sym.ByteQuadsCanonicalizer sym, InputStream in, byte[] inputBuffer, int start, int end, boolean bufferRecyclable) -
Method Summary
Modifier and TypeMethodDescriptionprivate final String_addDecodedToSymbols(int len, String name) private final tools.jackson.core.JsonTokenprotected voidprivate final voidprivate final String_decodeLongUnicodeName(int[] quads, int byteLen, int quadLen, boolean addToSymbolTable) private final voidprivate final String_decodeShortAsciiName(int len) protected final String_decodeShortAsciiValue(int len) private final String_decodeShortUnicodeName(int len) Helper method used to decode short Unicode string, length for which actual length (in bytes) is knownprotected final String_decodeShortUnicodeValue(int byteLen) private final int_decodeUtf8_2(int c) private final int_decodeUtf8_3(int c1) private final int_decodeUtf8_3fast(int c1) private final int_decodeUtf8_4(int c) private final tools.jackson.core.JsonTokenprivate final String[]_expandSeenNames(String[] oldShared) Method called to try to expand shared name area to fit one more potentially shared String.private final void_expandSeenStringValues(String newText) private final String_findDecodedFixed12(int len, int q1, int q2) Method for locating names longer than 12 bytes (in UTF-8)private final String_findDecodedFromSymbols(int len) Helper method for trying to find specified encoded UTF-8 byte sequence from symbol table; if successful avoids actual decoding to String.private String_findOrDecodeShortAsciiName(int len) private String_findOrDecodeShortUnicodeName(int len) private final voidprivate final voidprotected byte[]_finishBinary7BitLong(int expLen) private final byte[]protected byte[]_finishBinaryRawLong(int expLen) private final voidprivate final voidprivate final voidprivate final voidprivate final voidprivate final voidprotected final void_finishNumberToken(int tb) protected final voidMethod called to finish parsing of a token so that token contents are retrievableprivate final intprivate final intprivate final byte[]_getBinaryFromString(tools.jackson.core.Base64Variant variant) private static int[]_growArrayTo(int[] arr, int minSize) private final Stringprotected final tools.jackson.core.JsonTokenMethod that handles initial token type recognition for token that has to be either PROPERTY_NAME or END_OBJECT.private final tools.jackson.core.JsonToken_handleSharedString(int index) protected final booleanprotected final voidprotected final void_loadToHaveAtLeast(int minAvailable) Helper method that will try to load at least specified number bytes in input buffer, possible moving existing data around if necessary.private tools.jackson.core.JsonTokenprivate final byteprivate int_nextNameAsciiDecodeAndAdd(tools.jackson.core.sym.PropertyNameMatcher matcher, int len) private final int_nextNameFromSymbolsLong(tools.jackson.core.sym.PropertyNameMatcher matcher, int len, int q1, int q2) Method for locating names longer than 8 bytes (in UTF-8)private final int_nextNameOptimized(tools.jackson.core.sym.PropertyNameMatcher matcher, int len) private int_nextNameUnicodeDecodeAndAdd(tools.jackson.core.sym.PropertyNameMatcher matcher, int lenMarker) private static final int_padLastQuad(int q, int bytes) private static final int_padQuadForNulls(int firstByte) protected voidMethod called to complete parsing of a numeric value: will throwStreamReadExceptionif current token is not numeric.protected booleanSimilar toSmileParserBase._parseNumericValue(), but will not throw exception if the current token is not a numeric value.private final byte[]private void_readBinaryEncoded(OutputStream out, int length, byte[] buffer) protected final intprotected final intprotected voidMethod called to release internal buffers owned by the base reader.protected void_reportIncompleteBinaryRead7Bit(int expLen, int actLen) protected void_reportIncompleteBinaryReadRaw(int expLen, int actLen) protected void_reportInvalidInitial(int mask) protected void_reportInvalidOther(int mask) protected void_reportInvalidOther(int mask, int ptr) protected void_reportInvalidSharedName(int index) protected void_reportInvalidSharedStringValue(int index) protected final void_reportInvalidUnsignedVInt(int firstCh, int lastCh) protected String_reportTruncatedUTF8InName(int strLenBytes, int truncatedCharOffset, int firstUTFByteValue, int bytesExpected) protected String_reportTruncatedUTF8InString(int strLenBytes, int truncatedCharOffset, int firstUTFByteValue, int bytesExpected) private tools.jackson.core.JsonToken_reportUnknownValueTypeToken(int ch) protected voidHelper method for skipping length-prefixed binary data sectionprotected void_skipBytes(int len) protected voidMethod called to skip remainders of an incomplete token, when contents themselves will not be needed any moreprotected final int_tryToLoadToHaveAtLeast(int minAvailable) Helper method that will try to load at least specified number bytes in input buffer, possible moving existing data around if necessary.private voidcreateChildArrayContext(int lineNr, int colNr) private voidcreateChildObjectContext(int lineNr, int colNr) voidMethod for forcing full read of current token, even if it might otherwise only be read if data is accessed viagetString()and similar methods.byte[]getBinaryValue(tools.jackson.core.Base64Variant b64variant) Method for accessing textual representation of the current event; if no current event (before first call tonextToken(), or after encountering end-of-input), returns null.intchar[]intintgetValueAsString(String defaultValue) protected booleanhandleSignature(boolean consumeFirstByte, boolean throwException) Helper method called when it looks like input might contain the signature; and it is necessary to detect and handle signature to get configuration information it might have.booleanintnextIntValue(int defaultValue) longnextLongValue(long defaultValue) nextName()booleannextName(tools.jackson.core.SerializableString str) intnextNameMatch(tools.jackson.core.sym.PropertyNameMatcher matcher) tools.jackson.core.JsonTokenintreadBinaryValue(tools.jackson.core.Base64Variant b64variant, OutputStream out) intMethods inherited from class SmileParserBase
_handleEOF, _releaseBuffers, _reportMismatchedEndMarker, _sourceReference, assignCurrentValue, close, convertNumberToBigDecimal, convertNumberToBigInteger, convertNumberToDouble, convertNumberToFloat, convertNumberToInt, convertNumberToLong, currentLocation, currentName, currentTokenLocation, currentValue, getBigIntegerValue, getDecimalValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getNumberType, getNumberTypeFP, getNumberValue, getNumberValueExact, isClosed, isNaN, mayContainRawBinary, streamReadCapabilities, streamReadContext, versionMethods inherited from class tools.jackson.core.base.ParserMinimalBase
_constructInputCoercion, _constructNotNumericType, _currentLocationMinusOne, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _nullSafeUpdateToken, _reportBadInputStream, _reportBadReader, _reportError, _reportError, _reportError, _reportError, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidNumber, _reportInvalidSpace, _reportInvalidUTF8Surrogate, _reportMissingRootWS, _reportOverflowByte, _reportOverflowInt, _reportOverflowInt, _reportOverflowInt, _reportOverflowLong, _reportOverflowLong, _reportOverflowLong, _reportOverflowShort, _reportUnexpectedChar, _reportUnexpectedNumberChar, _throwInternal, _updateToken, _updateTokenToNA, _updateTokenToNull, _wrapIOFailure, clearCurrentToken, currentNameMatch, currentToken, currentTokenCount, currentTokenId, getBooleanValue, getByteValue, getLastClearedToken, getNumberValueDeferred, getShortValue, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, hasCurrentToken, hasToken, hasTokenId, isEnabled, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, objectReadContext, readValueAs, readValueAs, readValueAs, readValueAsTree, skipChildren, streamReadConstraints, streamReadFeaturesMethods inherited from class tools.jackson.core.JsonParser
_constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, canParseAsync, canReadObjectId, canReadTypeId, getBinaryValue, getObjectId, getSchema, getText, getTextCharacters, getTextLength, getTextOffset, getTypeId, getValueAsBoolean, getValueAsDouble, nonBlockingInputFeeder, readBinaryValue, readString, releaseBuffered
-
Field Details
-
JDK11_OR_LATER
private static final boolean JDK11_OR_LATERFlag to indicate if the JDK version is 11 or later. This can be used in some methods to choose more optimal behavior. In particular, jdk9+ have different internals for the String class. -
_inputStream
Input stream that can be used for reading more content, if one in use. May be null, if input comes just as a full buffer, or if the stream has been closed. -
_inputBuffer
protected byte[] _inputBufferCurrent buffer from which data is read; generally data is read into buffer from input source, but in some cases pre-loaded buffer is handed to the parser. -
_bufferRecyclable
protected boolean _bufferRecyclableFlag that indicates whether the input buffer is recycable (and needs to be returned to recycler once we are done) or not.If it is not, it also means that parser can NOT modify underlying buffer.
-
_typeAsInt
protected int _typeAsIntType byte of the current token (as in) -
_tokenIncomplete
protected boolean _tokenIncompleteFlag that indicates that the current token has not yet been fully processed, and needs to be finished for some access (or skipped to obtain the next token)
-
-
Constructor Details
-
SmileParser
public SmileParser(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.io.IOContext ctxt, int parserFeatures, int smileFeatures, tools.jackson.core.sym.ByteQuadsCanonicalizer sym, InputStream in, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)
-
-
Method Details
-
handleSignature
protected boolean handleSignature(boolean consumeFirstByte, boolean throwException) throws tools.jackson.core.JacksonException Helper method called when it looks like input might contain the signature; and it is necessary to detect and handle signature to get configuration information it might have.- Returns:
- True if valid signature was found and handled; false if not
- Throws:
tools.jackson.core.JacksonException
-
releaseBuffered
- Overrides:
releaseBufferedin classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
streamReadInputSource
- Specified by:
streamReadInputSourcein classtools.jackson.core.JsonParser
-
_nextByteGuaranteed
private final byte _nextByteGuaranteed() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_loadMoreGuaranteed
protected final void _loadMoreGuaranteed() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_loadMore
protected final boolean _loadMore() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_loadToHaveAtLeast
protected final void _loadToHaveAtLeast(int minAvailable) throws tools.jackson.core.JacksonException Helper method that will try to load at least specified number bytes in input buffer, possible moving existing data around if necessary. Exception throws if not enough content can be read.- Parameters:
minAvailable- Minimum number of bytes we absolutely need- Throws:
tools.jackson.core.JacksonException- if read failed, either due to I/O issue or because not enough content could be read before end-of-input.
-
_tryToLoadToHaveAtLeast
protected final int _tryToLoadToHaveAtLeast(int minAvailable) throws tools.jackson.core.JacksonException Helper method that will try to load at least specified number bytes in input buffer, possible moving existing data around if necessary.- Returns:
- Number of bytes that were missing, if any;
0for successful read - Throws:
tools.jackson.core.JacksonException
-
_closeInput
protected void _closeInput()- Specified by:
_closeInputin classSmileParserBase
-
hasStringCharacters
public boolean hasStringCharacters()- Specified by:
hasStringCharactersin classtools.jackson.core.JsonParser
-
_releaseBuffers2
protected void _releaseBuffers2()Method called to release internal buffers owned by the base reader. This may be called along with_closeInput()(for example, when explicitly closing this reader instance), or separately (if need be).- Specified by:
_releaseBuffers2in classSmileParserBase
-
nextToken
public tools.jackson.core.JsonToken nextToken() throws tools.jackson.core.JacksonException- Specified by:
nextTokenin classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
_reportUnknownValueTypeToken
private tools.jackson.core.JsonToken _reportUnknownValueTypeToken(int ch) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_nextAfterHeader
private tools.jackson.core.JsonToken _nextAfterHeader() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_addSeenStringValue
private final tools.jackson.core.JsonToken _addSeenStringValue() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_expandSeenStringValues
-
finishToken
public void finishToken()Method for forcing full read of current token, even if it might otherwise only be read if data is accessed viagetString()and similar methods.- Overrides:
finishTokenin classtools.jackson.core.base.ParserMinimalBase
-
nextName
- Overrides:
nextNamein classtools.jackson.core.base.ParserMinimalBase- Throws:
tools.jackson.core.JacksonException
-
nextName
public boolean nextName(tools.jackson.core.SerializableString str) throws tools.jackson.core.JacksonException - Overrides:
nextNamein classtools.jackson.core.base.ParserMinimalBase- Throws:
tools.jackson.core.JacksonException
-
nextNameMatch
public int nextNameMatch(tools.jackson.core.sym.PropertyNameMatcher matcher) throws tools.jackson.core.JacksonException - Overrides:
nextNameMatchin classtools.jackson.core.base.ParserMinimalBase- Throws:
tools.jackson.core.JacksonException
-
_nextNameOptimized
private final int _nextNameOptimized(tools.jackson.core.sym.PropertyNameMatcher matcher, int len) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_nextNameFromSymbolsLong
private final int _nextNameFromSymbolsLong(tools.jackson.core.sym.PropertyNameMatcher matcher, int len, int q1, int q2) throws tools.jackson.core.JacksonException Method for locating names longer than 8 bytes (in UTF-8)- Throws:
tools.jackson.core.JacksonException
-
_nextNameAsciiDecodeAndAdd
private int _nextNameAsciiDecodeAndAdd(tools.jackson.core.sym.PropertyNameMatcher matcher, int len) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_nextNameUnicodeDecodeAndAdd
private int _nextNameUnicodeDecodeAndAdd(tools.jackson.core.sym.PropertyNameMatcher matcher, int lenMarker) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
nextStringValue
- Overrides:
nextStringValuein classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
nextIntValue
public int nextIntValue(int defaultValue) throws tools.jackson.core.JacksonException - Overrides:
nextIntValuein classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
nextLongValue
public long nextLongValue(long defaultValue) throws tools.jackson.core.JacksonException - Overrides:
nextLongValuein classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
nextBooleanValue
- Overrides:
nextBooleanValuein classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
getString
Method for accessing textual representation of the current event; if no current event (before first call tonextToken(), or after encountering end-of-input), returns null. Method can be called for any event.- Specified by:
getStringin classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
getStringCharacters
public char[] getStringCharacters() throws tools.jackson.core.JacksonException- Specified by:
getStringCharactersin classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
getStringLength
public int getStringLength() throws tools.jackson.core.JacksonException- Specified by:
getStringLengthin classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
getStringOffset
public int getStringOffset() throws tools.jackson.core.JacksonException- Specified by:
getStringOffsetin classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
getValueAsString
- Overrides:
getValueAsStringin classtools.jackson.core.base.ParserMinimalBase- Throws:
tools.jackson.core.JacksonException
-
getValueAsString
-
getString
- Overrides:
getStringin classtools.jackson.core.base.ParserMinimalBase- Throws:
tools.jackson.core.JacksonException
-
getBinaryValue
public byte[] getBinaryValue(tools.jackson.core.Base64Variant b64variant) throws tools.jackson.core.JacksonException - Specified by:
getBinaryValuein classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
getEmbeddedObject
- Overrides:
getEmbeddedObjectin classtools.jackson.core.base.ParserMinimalBase- Throws:
tools.jackson.core.JacksonException
-
readBinaryValue
public int readBinaryValue(tools.jackson.core.Base64Variant b64variant, OutputStream out) throws tools.jackson.core.JacksonException - Overrides:
readBinaryValuein classtools.jackson.core.JsonParser- Throws:
tools.jackson.core.JacksonException
-
_readBinaryEncoded
private void _readBinaryEncoded(OutputStream out, int length, byte[] buffer) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_getBinaryFromString
private final byte[] _getBinaryFromString(tools.jackson.core.Base64Variant variant) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_handlePropertyName
protected final tools.jackson.core.JsonToken _handlePropertyName() throws tools.jackson.core.JacksonExceptionMethod that handles initial token type recognition for token that has to be either PROPERTY_NAME or END_OBJECT.- Throws:
tools.jackson.core.JacksonException
-
_findOrDecodeShortAsciiName
- Throws:
tools.jackson.core.JacksonException
-
_findOrDecodeShortUnicodeName
- Throws:
tools.jackson.core.JacksonException
-
_expandSeenNames
-
_addDecodedToSymbols
-
_decodeShortAsciiName
- Throws:
tools.jackson.core.JacksonException
-
_decodeShortUnicodeName
Helper method used to decode short Unicode string, length for which actual length (in bytes) is known- Parameters:
len- Length between 1 and 64- Throws:
tools.jackson.core.JacksonException
-
_decodeLongUnicodeName
private final String _decodeLongUnicodeName(int[] quads, int byteLen, int quadLen, boolean addToSymbolTable) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_handleLongFieldName
- Throws:
tools.jackson.core.JacksonException
-
_findDecodedFromSymbols
Helper method for trying to find specified encoded UTF-8 byte sequence from symbol table; if successful avoids actual decoding to String.NOTE: caller MUST ensure input buffer has enough content.
- Throws:
tools.jackson.core.JacksonException
-
_findDecodedFixed12
private final String _findDecodedFixed12(int len, int q1, int q2) throws tools.jackson.core.JacksonException Method for locating names longer than 12 bytes (in UTF-8)- Throws:
tools.jackson.core.JacksonException
-
_growArrayTo
private static int[] _growArrayTo(int[] arr, int minSize) -
_padLastQuad
private static final int _padLastQuad(int q, int bytes) -
_padQuadForNulls
private static final int _padQuadForNulls(int firstByte) -
_parseNumericValue
protected void _parseNumericValue() throws tools.jackson.core.JacksonExceptionDescription copied from class:SmileParserBaseMethod called to complete parsing of a numeric value: will throwStreamReadExceptionif current token is not numeric.- Specified by:
_parseNumericValuein classSmileParserBase- Throws:
tools.jackson.core.JacksonException
-
_parseNumericValueIfNumber
protected boolean _parseNumericValueIfNumber() throws tools.jackson.core.JacksonExceptionDescription copied from class:SmileParserBaseSimilar toSmileParserBase._parseNumericValue(), but will not throw exception if the current token is not a numeric value.- Specified by:
_parseNumericValueIfNumberin classSmileParserBase- Returns:
trueif current token is numeric;falseotherwise- Throws:
tools.jackson.core.JacksonException
-
_finishToken
protected final void _finishToken() throws tools.jackson.core.JacksonExceptionMethod called to finish parsing of a token so that token contents are retrievable- Throws:
tools.jackson.core.JacksonException
-
_finishNumberToken
protected final void _finishNumberToken(int tb) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_finishInt
private final void _finishInt() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishIntSlow
private final void _finishIntSlow() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishLong
private final void _finishLong() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishLongSlow
private final void _finishLongSlow() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_fourBytesToInt
private final int _fourBytesToInt() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_fourBytesToIntSlow
private final int _fourBytesToIntSlow() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishBigInteger
private final void _finishBigInteger() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishFloat
private final void _finishFloat() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishDouble
private final void _finishDouble() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishBigDecimal
private final void _finishBigDecimal() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_readUnsignedVInt
protected final int _readUnsignedVInt() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_readUnsignedVIntSlow
protected final int _readUnsignedVIntSlow() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_reportInvalidUnsignedVInt
protected final void _reportInvalidUnsignedVInt(int firstCh, int lastCh) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_decodeShortAsciiValue
- Throws:
tools.jackson.core.JacksonException
-
_decodeShortUnicodeValue
protected final String _decodeShortUnicodeValue(int byteLen) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_decodeLongAsciiValue
private final void _decodeLongAsciiValue() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_decodeLongUnicodeValue
private final void _decodeLongUnicodeValue() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishBinaryRaw
private final byte[] _finishBinaryRaw() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishBinaryRawLong
protected byte[] _finishBinaryRawLong(int expLen) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_read7BitBinaryWithLength
private final byte[] _read7BitBinaryWithLength() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
_finishBinary7BitLong
protected byte[] _finishBinary7BitLong(int expLen) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_skipIncomplete
protected void _skipIncomplete() throws tools.jackson.core.JacksonExceptionMethod called to skip remainders of an incomplete token, when contents themselves will not be needed any more- Throws:
tools.jackson.core.JacksonException
-
_skipBytes
protected void _skipBytes(int len) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_skip7BitBinary
protected void _skip7BitBinary() throws tools.jackson.core.JacksonExceptionHelper method for skipping length-prefixed binary data section- Throws:
tools.jackson.core.JacksonException
-
_decodeUtf8_2
private final int _decodeUtf8_2(int c) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_decodeUtf8_3
private final int _decodeUtf8_3(int c1) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_decodeUtf8_3fast
private final int _decodeUtf8_3fast(int c1) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_decodeUtf8_4
private final int _decodeUtf8_4(int c) throws tools.jackson.core.JacksonException - Returns:
- Character value minus 0x10000; this so that caller can readily expand it to actual surrogates
- Throws:
tools.jackson.core.JacksonException
-
_reportInvalidInitial
protected void _reportInvalidInitial(int mask) throws tools.jackson.core.exc.StreamReadException - Throws:
tools.jackson.core.exc.StreamReadException
-
_reportInvalidOther
protected void _reportInvalidOther(int mask, int ptr) throws tools.jackson.core.exc.StreamReadException - Throws:
tools.jackson.core.exc.StreamReadException
-
_reportInvalidOther
protected void _reportInvalidOther(int mask) throws tools.jackson.core.exc.StreamReadException - Throws:
tools.jackson.core.exc.StreamReadException
-
_reportIncompleteBinaryReadRaw
protected void _reportIncompleteBinaryReadRaw(int expLen, int actLen) throws tools.jackson.core.exc.StreamReadException - Throws:
tools.jackson.core.exc.StreamReadException
-
_reportIncompleteBinaryRead7Bit
protected void _reportIncompleteBinaryRead7Bit(int expLen, int actLen) throws tools.jackson.core.exc.StreamReadException - Throws:
tools.jackson.core.exc.StreamReadException
-
_reportTruncatedUTF8InString
protected String _reportTruncatedUTF8InString(int strLenBytes, int truncatedCharOffset, int firstUTFByteValue, int bytesExpected) throws tools.jackson.core.exc.StreamReadException - Throws:
tools.jackson.core.exc.StreamReadException
-
_reportTruncatedUTF8InName
protected String _reportTruncatedUTF8InName(int strLenBytes, int truncatedCharOffset, int firstUTFByteValue, int bytesExpected) throws tools.jackson.core.exc.StreamReadException - Throws:
tools.jackson.core.exc.StreamReadException
-
_eofAsNextToken
private final tools.jackson.core.JsonToken _eofAsNextToken() throws tools.jackson.core.JacksonException- Throws:
tools.jackson.core.JacksonException
-
createChildArrayContext
private void createChildArrayContext(int lineNr, int colNr) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
createChildObjectContext
private void createChildObjectContext(int lineNr, int colNr) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-