public class JacksonRootAddingParser
extends com.fasterxml.jackson.core.JsonParser
| Modifier and Type | Method and Description |
|---|---|
void |
clearCurrentToken() |
void |
close() |
static com.fasterxml.jackson.core.JsonParser |
createRootAddingParser(com.fasterxml.jackson.core.JsonParser parser,
String rootName) |
com.fasterxml.jackson.core.JsonParser |
disable(com.fasterxml.jackson.core.JsonParser.Feature feature) |
void |
disableFeature(com.fasterxml.jackson.core.JsonParser.Feature feature)
Deprecated.
|
com.fasterxml.jackson.core.JsonParser |
enable(com.fasterxml.jackson.core.JsonParser.Feature feature) |
void |
enableFeature(com.fasterxml.jackson.core.JsonParser.Feature feature)
Deprecated.
|
BigInteger |
getBigIntegerValue() |
byte[] |
getBinaryValue(com.fasterxml.jackson.core.Base64Variant base64Variant) |
byte |
getByteValue() |
com.fasterxml.jackson.core.ObjectCodec |
getCodec() |
com.fasterxml.jackson.core.JsonLocation |
getCurrentLocation() |
String |
getCurrentName() |
com.fasterxml.jackson.core.JsonToken |
getCurrentToken() |
int |
getCurrentTokenId() |
BigDecimal |
getDecimalValue() |
double |
getDoubleValue() |
float |
getFloatValue() |
int |
getIntValue() |
com.fasterxml.jackson.core.JsonToken |
getLastClearedToken() |
long |
getLongValue() |
com.fasterxml.jackson.core.JsonParser.NumberType |
getNumberType() |
Number |
getNumberValue() |
com.fasterxml.jackson.core.JsonStreamContext |
getParsingContext() |
short |
getShortValue() |
String |
getText() |
char[] |
getTextCharacters() |
int |
getTextLength() |
int |
getTextOffset() |
com.fasterxml.jackson.core.JsonLocation |
getTokenLocation() |
String |
getValueAsString(String s) |
boolean |
hasCurrentToken() |
boolean |
hasTextCharacters() |
boolean |
hasToken(com.fasterxml.jackson.core.JsonToken jsonToken) |
boolean |
hasTokenId(int i) |
boolean |
isClosed() |
com.fasterxml.jackson.core.JsonToken |
nextToken() |
com.fasterxml.jackson.core.JsonToken |
nextValue() |
void |
overrideCurrentName(String s) |
<T> T |
readValueAs(Class<T> type) |
<T> T |
readValueAs(com.fasterxml.jackson.core.type.TypeReference<?> typeRef) |
com.fasterxml.jackson.core.TreeNode |
readValueAsTree() |
void |
setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
void |
setFeature(com.fasterxml.jackson.core.JsonParser.Feature feature,
boolean isSet)
Deprecated.
|
com.fasterxml.jackson.core.JsonParser |
skipChildren() |
com.fasterxml.jackson.core.Version |
version() |
_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, canReadTypeId, canUseSchema, configure, currentLocation, currentName, currentToken, currentTokenId, currentTokenLocation, currentValue, finishToken, getBinaryValue, getBooleanValue, getCurrentValue, getEmbeddedObject, getFeatureMask, getFormatFeatures, getInputSource, getNonBlockingInputFeeder, getNumberValueExact, getObjectId, getReadCapabilities, getSchema, getText, getTypeId, getValueAsBoolean, getValueAsBoolean, getValueAsDouble, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, isEnabled, isEnabled, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, isNaN, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, readBinaryValue, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemapublic static com.fasterxml.jackson.core.JsonParser createRootAddingParser(com.fasterxml.jackson.core.JsonParser parser,
String rootName)
@Deprecated public void enableFeature(com.fasterxml.jackson.core.JsonParser.Feature feature)
public com.fasterxml.jackson.core.JsonParser enable(com.fasterxml.jackson.core.JsonParser.Feature feature)
enable in class com.fasterxml.jackson.core.JsonParser@Deprecated public void disableFeature(com.fasterxml.jackson.core.JsonParser.Feature feature)
public com.fasterxml.jackson.core.JsonParser disable(com.fasterxml.jackson.core.JsonParser.Feature feature)
disable in class com.fasterxml.jackson.core.JsonParser@Deprecated public void setFeature(com.fasterxml.jackson.core.JsonParser.Feature feature, boolean isSet)
public com.fasterxml.jackson.core.JsonToken nextValue()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
nextValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic boolean isClosed()
isClosed in class com.fasterxml.jackson.core.JsonParserpublic byte getByteValue()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getByteValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic short getShortValue()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getShortValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic BigInteger getBigIntegerValue() throws IOException, com.fasterxml.jackson.core.JsonParseException
getBigIntegerValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic float getFloatValue()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getFloatValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant base64Variant)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getBinaryValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic String getValueAsString(String s) throws IOException
getValueAsString in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic <T> T readValueAs(Class<T> type) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
readValueAs in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic <T> T readValueAs(com.fasterxml.jackson.core.type.TypeReference<?> typeRef)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
readValueAs in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic com.fasterxml.jackson.core.TreeNode readValueAsTree()
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
readValueAsTree in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic com.fasterxml.jackson.core.JsonStreamContext getParsingContext()
getParsingContext in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonToken nextToken()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
nextToken in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic com.fasterxml.jackson.core.JsonParser skipChildren()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
skipChildren in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic com.fasterxml.jackson.core.JsonToken getCurrentToken()
getCurrentToken in class com.fasterxml.jackson.core.JsonParserpublic int getCurrentTokenId()
getCurrentTokenId in class com.fasterxml.jackson.core.JsonParserpublic boolean hasCurrentToken()
hasCurrentToken in class com.fasterxml.jackson.core.JsonParserpublic boolean hasTokenId(int i)
hasTokenId in class com.fasterxml.jackson.core.JsonParserpublic boolean hasToken(com.fasterxml.jackson.core.JsonToken jsonToken)
hasToken in class com.fasterxml.jackson.core.JsonParserpublic void clearCurrentToken()
clearCurrentToken in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonToken getLastClearedToken()
getLastClearedToken in class com.fasterxml.jackson.core.JsonParserpublic void overrideCurrentName(String s)
overrideCurrentName in class com.fasterxml.jackson.core.JsonParserpublic String getCurrentName() throws IOException, com.fasterxml.jackson.core.JsonParseException
getCurrentName in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic com.fasterxml.jackson.core.JsonLocation getTokenLocation()
getTokenLocation in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonLocation getCurrentLocation()
getCurrentLocation in class com.fasterxml.jackson.core.JsonParserpublic String getText() throws IOException, com.fasterxml.jackson.core.JsonParseException
getText in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic char[] getTextCharacters()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getTextCharacters in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic int getTextLength()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getTextLength in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic int getTextOffset()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getTextOffset in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic boolean hasTextCharacters()
hasTextCharacters in class com.fasterxml.jackson.core.JsonParserpublic Number getNumberValue() throws IOException, com.fasterxml.jackson.core.JsonParseException
getNumberValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic com.fasterxml.jackson.core.JsonParser.NumberType getNumberType()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getNumberType in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic int getIntValue()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getIntValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic long getLongValue()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getLongValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic double getDoubleValue()
throws IOException,
com.fasterxml.jackson.core.JsonParseException
getDoubleValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic BigDecimal getDecimalValue() throws IOException, com.fasterxml.jackson.core.JsonParseException
getDecimalValue in class com.fasterxml.jackson.core.JsonParserIOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic com.fasterxml.jackson.core.ObjectCodec getCodec()
getCodec in class com.fasterxml.jackson.core.JsonParserpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)
setCodec in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.Version version()
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonParserCopyright © 2022. All rights reserved.