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. |
com.fasterxml.jackson.core.base |
Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
|
com.fasterxml.jackson.core.exc |
Package for some of
JsonProcessingException
subtypes contained by streaming API. |
com.fasterxml.jackson.core.filter | |
com.fasterxml.jackson.core.format |
Package that contains interfaces needed for dynamic, pluggable
format (auto)detection; as well as basic utility classes for
simple format detection functionality.
|
com.fasterxml.jackson.core.io | |
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
com.fasterxml.jackson.core.json.async |
Non-blocking ("async") JSON parser implementation.
|
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.deser |
Contains implementation classes of deserialization part of
data binding.
|
com.fasterxml.jackson.databind.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
com.fasterxml.jackson.databind.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
com.fasterxml.jackson.databind.exc | |
com.fasterxml.jackson.databind.ext |
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
|
com.fasterxml.jackson.databind.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
com.fasterxml.jackson.databind.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.databind.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
com.fasterxml.jackson.datatype.jdk8 | |
com.fasterxml.jackson.datatype.jsr310.deser | |
com.fasterxml.jackson.jaxrs.base | |
com.fasterxml.jackson.jaxrs.cfg | |
com.fasterxml.jackson.module.jaxb.deser |
Modifier and Type | Method and Description |
---|---|
protected JsonParser |
JsonFactory._createParser(byte[] data,
int offset,
int len,
IOContext ctxt)
Overridable factory method that actually instantiates parser
using given
Reader object for reading content
passed as raw byte array. |
protected JsonParser |
JsonFactory._createParser(char[] data,
int offset,
int len,
IOContext ctxt,
boolean recyclable)
Overridable factory method that actually instantiates parser
using given
char[] object for accessing content. |
protected JsonParser |
JsonFactory._createParser(DataInput input,
IOContext ctxt)
Optional factory method, expected to be overridden
|
protected JsonParser |
JsonFactory._createParser(InputStream in,
IOContext ctxt)
Overridable factory method that actually instantiates desired parser
given
InputStream and context object. |
protected JsonParser |
JsonFactory._createParser(Reader r,
IOContext ctxt)
Overridable factory method that actually instantiates parser
using given
Reader object for reading content. |
JsonParser |
JsonParser.configure(JsonParser.Feature f,
boolean state)
Method for enabling or disabling specified feature
(check
JsonParser.Feature for list of features) |
JsonParser |
JsonFactory.createJsonParser(byte[] data)
Deprecated.
Since 2.2, use
JsonFactory.createParser(byte[]) instead. |
JsonParser |
JsonFactory.createJsonParser(byte[] data,
int offset,
int len)
Deprecated.
Since 2.2, use
JsonFactory.createParser(byte[],int,int) instead. |
JsonParser |
JsonFactory.createJsonParser(File f)
Deprecated.
Since 2.2, use
JsonFactory.createParser(File) instead. |
JsonParser |
JsonFactory.createJsonParser(InputStream in)
Deprecated.
Since 2.2, use
JsonFactory.createParser(InputStream) instead. |
JsonParser |
JsonFactory.createJsonParser(Reader r)
Deprecated.
Since 2.2, use
JsonFactory.createParser(Reader) instead. |
JsonParser |
JsonFactory.createJsonParser(String content)
Deprecated.
Since 2.2, use
JsonFactory.createParser(String) instead. |
JsonParser |
JsonFactory.createJsonParser(URL url)
Deprecated.
Since 2.2, use
JsonFactory.createParser(URL) instead. |
JsonParser |
JsonFactory.createNonBlockingByteArrayParser()
Optional method for constructing parser for non-blocking parsing
via
ByteArrayFeeder
interface (accessed using getNonBlockingInputFeeder()
from constructed instance). |
abstract JsonParser |
TokenStreamFactory.createNonBlockingByteArrayParser() |
JsonParser |
JsonFactory.createParser(byte[] data)
Method for constructing parser for parsing
the contents of given byte array.
|
abstract JsonParser |
TokenStreamFactory.createParser(byte[] data) |
JsonParser |
JsonFactory.createParser(byte[] data,
int offset,
int len)
Method for constructing parser for parsing
the contents of given byte array.
|
abstract JsonParser |
TokenStreamFactory.createParser(byte[] data,
int offset,
int len) |
JsonParser |
JsonFactory.createParser(char[] content)
Method for constructing parser for parsing
contents of given char array.
|
abstract JsonParser |
TokenStreamFactory.createParser(char[] content) |
JsonParser |
JsonFactory.createParser(char[] content,
int offset,
int len)
Method for constructing parser for parsing contents of given char array.
|
abstract JsonParser |
TokenStreamFactory.createParser(char[] content,
int offset,
int len) |
JsonParser |
JsonFactory.createParser(DataInput in)
Optional method for constructing parser for reading contents from specified
DataInput
instance. |
abstract JsonParser |
TokenStreamFactory.createParser(DataInput in) |
JsonParser |
JsonFactory.createParser(File f)
Method for constructing JSON parser instance to parse
contents of specified file.
|
abstract JsonParser |
TokenStreamFactory.createParser(File f) |
JsonParser |
JsonFactory.createParser(InputStream in)
Method for constructing JSON parser instance to parse
the contents accessed via specified input stream.
|
abstract JsonParser |
TokenStreamFactory.createParser(InputStream in) |
JsonParser |
JsonFactory.createParser(Reader r)
Method for constructing parser for parsing
the contents accessed via specified Reader.
|
abstract JsonParser |
TokenStreamFactory.createParser(Reader r) |
JsonParser |
JsonFactory.createParser(String content)
Method for constructing parser for parsing
contents of given String.
|
abstract JsonParser |
TokenStreamFactory.createParser(String content) |
JsonParser |
JsonFactory.createParser(URL url)
Method for constructing JSON parser instance to parse
contents of resource reference by given URL.
|
abstract JsonParser |
TokenStreamFactory.createParser(URL url) |
JsonParser |
JsonParser.disable(JsonParser.Feature f)
Method for disabling specified feature
(check
JsonParser.Feature for list of features) |
JsonParser |
JsonParser.enable(JsonParser.Feature f)
Method for enabling specified parser feature
(check
JsonParser.Feature for list of features) |
JsonParser |
JsonParseException.getProcessor() |
JsonParser |
JsonParser.overrideFormatFeatures(int values,
int mask)
Bulk set method for (re)setting states of
FormatFeature s,
by specifying values (set / clear) along with a mask, to determine
which features to change, if any. |
JsonParser |
JsonParser.overrideStdFeatures(int values,
int mask)
Bulk set method for (re)setting states of features specified by
mask . |
JsonParser |
JsonParser.setFeatureMask(int mask)
Deprecated.
Since 2.7, use
overrideStdFeatures(int, int) instead |
abstract JsonParser |
JsonParser.skipChildren()
Method that will skip all child tokens of an array or
object token that the parser currently points to,
iff stream points to
JsonToken.START_OBJECT or JsonToken.START_ARRAY . |
JsonParser |
TreeNode.traverse()
Method for constructing a
JsonParser instance for
iterating over contents of the tree that this node is root of. |
JsonParser |
TreeNode.traverse(ObjectCodec codec)
Same as
TreeNode.traverse() , but additionally passes ObjectCodec
to use if readValueAs(Class) is used (otherwise caller must call
setCodec(com.fasterxml.jackson.core.ObjectCodec) on response explicitly). |
abstract JsonParser |
ObjectCodec.treeAsTokens(TreeNode n)
Method for constructing a
JsonParser for reading
contents of a JSON tree, as if it was external serialized
JSON content. |
abstract JsonParser |
TreeCodec.treeAsTokens(TreeNode node) |
Modifier and Type | Method and Description |
---|---|
protected void |
JsonGenerator._copyCurrentContents(JsonParser p) |
void |
JsonGenerator.copyCurrentEvent(JsonParser p)
Method for copying contents of the current event that
the given parser instance points to.
|
void |
JsonGenerator.copyCurrentStructure(JsonParser p)
Method for copying contents of the current event
and following events that it encloses
the given parser instance points to.
|
abstract <T extends TreeNode> |
ObjectCodec.readTree(JsonParser p)
Method for deserializing JSON content as tree expressed
using set of
TreeNode instances. |
abstract <T extends TreeNode> |
TreeCodec.readTree(JsonParser p) |
abstract <T> T |
ObjectCodec.readValue(JsonParser p,
Class<T> valueType)
Method to deserialize JSON content into a non-container
type (it can be an array type, however): typically a bean, array
or a wrapper type (like
Boolean ). |
abstract <T> T |
ObjectCodec.readValue(JsonParser p,
ResolvedType valueType)
Method to deserialize JSON content into a POJO, type specified
with fully resolved type object (so it can be a generic type,
including containers like
Collection and
Map ). |
abstract <T> T |
ObjectCodec.readValue(JsonParser p,
TypeReference<T> valueTypeRef)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JsonParser p,
Class<T> valueType)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JsonParser p,
ResolvedType valueType)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JsonParser p,
TypeReference<T> valueTypeRef)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
JsonParseException |
JsonParseException.withParser(JsonParser p)
Fluent method that may be used to assign originating
JsonParser ,
to be accessed using JsonParseException.getProcessor() . |
Constructor and Description |
---|
JsonParseException(JsonParser p,
String msg)
Constructor that uses current parsing location as location, and
sets processor (accessible via
JsonParseException.getProcessor() ) to
specified parser. |
JsonParseException(JsonParser p,
String msg,
JsonLocation loc) |
JsonParseException(JsonParser p,
String msg,
JsonLocation loc,
Throwable root) |
JsonParseException(JsonParser p,
String msg,
Throwable root) |
Modifier and Type | Class and Description |
---|---|
class |
ParserBase
Intermediate base class used by all Jackson
JsonParser
implementations. |
class |
ParserMinimalBase
Intermediate base class used by all Jackson
JsonParser
implementations, but does not add any additional fields that depend
on particular method of obtaining input. |
Modifier and Type | Method and Description |
---|---|
JsonParser |
ParserBase.disable(JsonParser.Feature f) |
JsonParser |
ParserBase.enable(JsonParser.Feature f) |
JsonParser |
ParserBase.overrideStdFeatures(int values,
int mask) |
JsonParser |
ParserBase.setFeatureMask(int newMask)
Deprecated.
|
JsonParser |
ParserMinimalBase.skipChildren() |
Modifier and Type | Field and Description |
---|---|
protected JsonParser |
StreamReadException._processor |
Modifier and Type | Method and Description |
---|---|
JsonParser |
StreamReadException.getProcessor() |
Modifier and Type | Method and Description |
---|---|
InputCoercionException |
InputCoercionException.withParser(JsonParser p)
Fluent method that may be used to assign originating
JsonParser ,
to be accessed using StreamReadException.getProcessor() . |
abstract StreamReadException |
StreamReadException.withParser(JsonParser p)
Fluent method that may be used to assign originating
JsonParser ,
to be accessed using StreamReadException.getProcessor() . |
Constructor and Description |
---|
InputCoercionException(JsonParser p,
String msg,
JsonToken inputType,
Class<?> targetType)
Constructor that uses current parsing location as location, and
sets processor (accessible via
StreamReadException.getProcessor() ) to
specified parser. |
StreamReadException(JsonParser p,
String msg) |
StreamReadException(JsonParser p,
String msg,
JsonLocation loc) |
StreamReadException(JsonParser p,
String msg,
Throwable root) |
Modifier and Type | Class and Description |
---|---|
class |
FilteringParserDelegate
Specialized
JsonParserDelegate that allows use of
TokenFilter for outputting a subset of content that
is visible to caller |
Modifier and Type | Method and Description |
---|---|
JsonParser |
FilteringParserDelegate.skipChildren()
Need to override, re-implement similar to how method defined in
ParserMinimalBase , to keep
state correct here. |
Modifier and Type | Method and Description |
---|---|
boolean |
TokenFilter.includeValue(JsonParser p)
Call made when verifying whether a scaler value is being
read from a parser.
|
Constructor and Description |
---|
FilteringParserDelegate(JsonParser p,
TokenFilter f,
boolean includePath,
boolean allowMultipleMatches)
Deprecated.
|
FilteringParserDelegate(JsonParser p,
TokenFilter f,
TokenFilter.Inclusion inclusion,
boolean allowMultipleMatches) |
Modifier and Type | Method and Description |
---|---|
JsonParser |
DataFormatMatcher.createParserWithMatch()
Convenience method for trying to construct a
JsonParser for
parsing content which is assumed to be in detected data format. |
Constructor and Description |
---|
JsonEOFException(JsonParser p,
JsonToken token,
String msg) |
Modifier and Type | Class and Description |
---|---|
class |
ReaderBasedJsonParser
This is a concrete implementation of
JsonParser , which is
based on a Reader to handle low-level character
conversion tasks. |
class |
UTF8DataInputJsonParser
This is a concrete implementation of
JsonParser , which is
based on a DataInput as the input source. |
class |
UTF8StreamJsonParser
This is a concrete implementation of
JsonParser , which is
based on a InputStream as the input source. |
Modifier and Type | Method and Description |
---|---|
JsonParser |
ByteSourceJsonBootstrapper.constructParser(int parserFeatures,
ObjectCodec codec,
ByteQuadsCanonicalizer rootByteSymbols,
CharsToNameCanonicalizer rootCharSymbols,
int factoryFeatures) |
Modifier and Type | Method and Description |
---|---|
static DupDetector |
DupDetector.rootDetector(JsonParser p) |
Modifier and Type | Class and Description |
---|---|
class |
NonBlockingJsonParser
Non-blocking parser implementation for JSON content.
|
class |
NonBlockingJsonParserBase
Intermediate base class for non-blocking JSON parsers.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonParserDelegate
Helper class that implements
delegation pattern for
JsonParser ,
to allow for simple overridability of basic parsing functionality. |
class |
JsonParserSequence
Helper class that can be used to sequence multiple physical
JsonParser s to create a single logical sequence of
tokens, as a single JsonParser . |
Modifier and Type | Field and Description |
---|---|
protected JsonParser[] |
JsonParserSequence._parsers
Parsers other than the first one (which is initially assigned
as delegate)
|
protected JsonParser |
JsonParserDelegate.delegate
Delegate object that method calls are delegated to.
|
Modifier and Type | Method and Description |
---|---|
JsonParser |
JsonParserDelegate.delegate()
Accessor for getting the immediate
JsonParser this parser delegates calls to. |
JsonParser |
JsonParserDelegate.disable(JsonParser.Feature f) |
JsonParser |
JsonParserDelegate.enable(JsonParser.Feature f) |
JsonParser |
JsonParserDelegate.overrideFormatFeatures(int values,
int mask) |
JsonParser |
JsonParserDelegate.overrideStdFeatures(int values,
int mask) |
JsonParser |
JsonParserDelegate.setFeatureMask(int mask)
Deprecated.
|
JsonParser |
JsonParserDelegate.skipChildren() |
JsonParser |
JsonParserSequence.skipChildren()
Need to override, re-implement similar to how method defined in
ParserMinimalBase , to keep
state correct here. |
Modifier and Type | Method and Description |
---|---|
void |
JsonGeneratorDelegate.copyCurrentEvent(JsonParser p) |
void |
JsonGeneratorDelegate.copyCurrentStructure(JsonParser p) |
static JsonParserSequence |
JsonParserSequence.createFlattened(boolean checkForExistingToken,
JsonParser first,
JsonParser second)
Method that will construct a sequence (possibly a sequence) that
contains all given sub-parsers.
|
static JsonParserSequence |
JsonParserSequence.createFlattened(JsonParser first,
JsonParser second)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JsonParserSequence.addFlattenedActiveParsers(List<JsonParser> listToAddIn) |
Constructor and Description |
---|
JsonParserDelegate(JsonParser d) |
JsonParserSequence(boolean checkForExistingToken,
JsonParser[] parsers) |
JsonParserSequence(JsonParser[] parsers)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected JsonParser |
DeserializationContext._parser
Currently active parser used for deserialization.
|
protected JsonParser |
MappingIterator._parser
Underlying parser used for reading content to bind.
|
Modifier and Type | Method and Description |
---|---|
protected JsonParser |
ObjectReader._considerFilter(JsonParser p,
boolean multiValue)
Consider filter when creating JsonParser.
|
JsonParser |
ObjectMapper.createNonBlockingByteArrayParser()
Factory method for constructing properly initialized
JsonParser
to read content using non-blocking (asynchronous) mode. |
JsonParser |
ObjectReader.createNonBlockingByteArrayParser()
Factory method for constructing properly initialized
JsonParser
to read content using non-blocking (asynchronous) mode. |
JsonParser |
ObjectMapper.createParser(byte[] content)
Factory method for constructing properly initialized
JsonParser
to read content from specified byte array. |
JsonParser |
ObjectReader.createParser(byte[] content)
Factory method for constructing properly initialized
JsonParser
to read content from specified byte array. |
JsonParser |
ObjectMapper.createParser(byte[] content,
int offset,
int len)
Factory method for constructing properly initialized
JsonParser
to read content from specified byte array. |
JsonParser |
ObjectReader.createParser(byte[] content,
int offset,
int len)
Factory method for constructing properly initialized
JsonParser
to read content from specified byte array. |
JsonParser |
ObjectMapper.createParser(char[] content)
Factory method for constructing properly initialized
JsonParser
to read content from specified character array
Parser is not managed (or "owned") by ObjectMapper: caller is responsible
for properly closing it once content reading is complete. |
JsonParser |
ObjectReader.createParser(char[] content)
Factory method for constructing properly initialized
JsonParser
to read content from specified character array
Parser is not managed (or "owned") by ObjectReader: caller is responsible
for properly closing it once content reading is complete. |
JsonParser |
ObjectMapper.createParser(char[] content,
int offset,
int len)
Factory method for constructing properly initialized
JsonParser
to read content from specified character array. |
JsonParser |
ObjectReader.createParser(char[] content,
int offset,
int len)
Factory method for constructing properly initialized
JsonParser
to read content from specified character array. |
JsonParser |
ObjectMapper.createParser(DataInput content)
Factory method for constructing properly initialized
JsonParser
to read content using specified DataInput . |
JsonParser |
ObjectReader.createParser(DataInput content)
Factory method for constructing properly initialized
JsonParser
to read content using specified DataInput . |
JsonParser |
ObjectMapper.createParser(File src)
Factory method for constructing properly initialized
JsonParser
to read content from specified File . |
JsonParser |
ObjectReader.createParser(File src)
Factory method for constructing properly initialized
JsonParser
to read content from specified File . |
JsonParser |
ObjectMapper.createParser(InputStream in)
Factory method for constructing properly initialized
JsonParser
to read content using specified InputStream . |
JsonParser |
ObjectReader.createParser(InputStream in)
Factory method for constructing properly initialized
JsonParser
to read content using specified InputStream . |
JsonParser |
ObjectMapper.createParser(Reader r)
Factory method for constructing properly initialized
JsonParser
to read content using specified Reader . |
JsonParser |
ObjectReader.createParser(Reader r)
Factory method for constructing properly initialized
JsonParser
to read content using specified Reader . |
JsonParser |
ObjectMapper.createParser(String content)
Factory method for constructing properly initialized
JsonParser
to read content from specified String. |
JsonParser |
ObjectReader.createParser(String content)
Factory method for constructing properly initialized
JsonParser
to read content from specified String. |
JsonParser |
ObjectMapper.createParser(URL src)
Factory method for constructing properly initialized
JsonParser
to read content from specified File . |
JsonParser |
ObjectReader.createParser(URL src)
Factory method for constructing properly initialized
JsonParser
to read content from specified File . |
JsonParser |
DeserializationContext.getParser()
Method for accessing the currently active parser.
|
JsonParser |
MappingIterator.getParser()
Accessor for getting underlying parser this iterator uses.
|
JsonParser |
DeserializationConfig.initialize(JsonParser p)
Method called by
ObjectMapper and ObjectReader
to modify those JsonParser.Feature settings
that have been configured via this config instance. |
JsonParser |
DeserializationConfig.initialize(JsonParser p,
FormatSchema schema) |
JsonParser |
ObjectMapper.treeAsTokens(TreeNode n)
Method for constructing a
JsonParser out of JSON tree
representation. |
JsonParser |
ObjectReader.treeAsTokens(TreeNode n) |
Modifier and Type | Method and Description |
---|---|
protected Object |
ObjectReader._bind(JsonParser p,
Object valueToUpdate)
Actual implementation of value reading+binding operation.
|
protected Object |
ObjectReader._bindAndClose(JsonParser p0) |
protected JsonNode |
ObjectReader._bindAndCloseAsTree(JsonParser p0) |
protected <T> MappingIterator<T> |
ObjectReader._bindAndReadValues(JsonParser p) |
protected JsonNode |
ObjectReader._bindAsTree(JsonParser p) |
protected JsonNode |
ObjectReader._bindAsTreeOrNull(JsonParser p)
Same as
ObjectReader._bindAsTree(com.fasterxml.jackson.core.JsonParser) except end-of-input is reported by returning
null , not "missing node" |
protected JsonParser |
ObjectReader._considerFilter(JsonParser p,
boolean multiValue)
Consider filter when creating JsonParser.
|
protected void |
ObjectReader._initForMultiRead(DeserializationContext ctxt,
JsonParser p)
Alternative to
ObjectReader._initForReading(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.core.JsonParser) used in cases where reading
of multiple values means that we may or may not want to advance the stream,
but need to do other initialization. |
protected JsonToken |
ObjectReader._initForReading(DeserializationContext ctxt,
JsonParser p) |
protected JsonToken |
ObjectMapper._initForReading(JsonParser p)
Deprecated.
|
protected JsonToken |
ObjectMapper._initForReading(JsonParser p,
JavaType targetType)
Method called to ensure that given parser is ready for reading
content for data binding.
|
protected <T> MappingIterator<T> |
ObjectReader._newIterator(JsonParser p,
DeserializationContext ctxt,
JsonDeserializer<?> deser,
boolean parserManaged)
Factory method used to create
MappingIterator instances;
either default, or custom subtype. |
protected Object |
ObjectMapper._readMapAndClose(JsonParser p0,
JavaType valueType) |
protected JsonNode |
ObjectMapper._readTreeAndClose(JsonParser p0)
Similar to
ObjectMapper._readMapAndClose(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JavaType) but specialized for JsonNode
reading. |
protected Object |
ObjectMapper._readValue(DeserializationConfig cfg,
JsonParser p,
JavaType valueType)
Actual implementation of value reading+binding operation.
|
protected void |
ObjectMapper._verifyNoTrailingTokens(JsonParser p,
DeserializationContext ctxt,
JavaType bindType) |
protected void |
ObjectReader._verifyNoTrailingTokens(JsonParser p,
DeserializationContext ctxt,
JavaType bindType) |
protected DefaultDeserializationContext |
ObjectReader.createDeserializationContext(JsonParser p)
Internal helper method called to create an instance of
DeserializationContext
for deserializing a single root value. |
protected DefaultDeserializationContext |
ObjectMapper.createDeserializationContext(JsonParser p,
DeserializationConfig cfg)
Internal helper method called to create an instance of
DeserializationContext
for deserializing a single root value. |
abstract T |
JsonDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Method that can be called to ask implementation to deserialize
JSON content into the value type this serializer handles.
|
T |
JsonDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
T intoValue)
Alternate deserialization method (compared to the most commonly
used,
JsonDeserializer.deserialize(JsonParser, DeserializationContext) ),
which takes in initialized value instance, to be
configured and/or populated by deserializer. |
Object |
JsonDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Deserialization called when type being deserialized is defined to
contain additional type identifier, to allow for correctly
instantiating correct subtype.
|
Object |
JsonDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer,
T intoValue)
Method similar to
JsonDeserializer.deserializeWithType(JsonParser,DeserializationContext,TypeDeserializer)
but called when merging value. |
String |
DeserializationContext.extractScalarFromObject(JsonParser p,
JsonDeserializer<?> deser,
Class<?> scalarType)
Method to call in case incoming shape is Object Value (and parser thereby
points to
JsonToken.START_OBJECT token),
but a Scalar value (potentially coercible from String value) is expected. |
static JsonMappingException |
JsonMappingException.from(JsonParser p,
String msg) |
static JsonMappingException |
JsonMappingException.from(JsonParser p,
String msg,
Throwable problem) |
Object |
DeserializationContext.handleMissingInstantiator(Class<?> instClass,
ValueInstantiator valueInst,
JsonParser p,
String msg,
Object... msgArgs)
Method that deserializers should call if they fail to instantiate value
due to lack of viable instantiator (usually creator, that is, constructor
or static factory method).
|
Object |
DeserializationContext.handleUnexpectedToken(Class<?> instClass,
JsonParser p)
Method that deserializers should call if the first token of the value to
deserialize is of unexpected type (that is, type of token that deserializer
cannot handle).
|
Object |
DeserializationContext.handleUnexpectedToken(Class<?> instClass,
JsonToken t,
JsonParser p,
String msg,
Object... msgArgs)
Method that deserializers should call if the first token of the value to
deserialize is of unexpected type (that is, type of token that deserializer
cannot handle).
|
Object |
DeserializationContext.handleUnexpectedToken(JavaType targetType,
JsonParser p)
Method that deserializers should call if the first token of the value to
deserialize is of unexpected type (that is, type of token that deserializer
cannot handle).
|
Object |
DeserializationContext.handleUnexpectedToken(JavaType targetType,
JsonToken t,
JsonParser p,
String msg,
Object... msgArgs)
Method that deserializers should call if the first token of the value to
deserialize is of unexpected type (that is, type of token that deserializer
cannot handle).
|
boolean |
DeserializationContext.handleUnknownProperty(JsonParser p,
JsonDeserializer<?> deser,
Object instanceOrClass,
String propName)
Method that deserializers should call if they encounter an unrecognized
property (and once that is not explicitly designed as ignorable), to
inform possibly configured
DeserializationProblemHandler s and
let it handle the problem. |
Object |
DeserializationContext.handleWeirdNativeValue(JavaType targetType,
Object badValue,
JsonParser p) |
JsonParser |
DeserializationConfig.initialize(JsonParser p)
Method called by
ObjectMapper and ObjectReader
to modify those JsonParser.Feature settings
that have been configured via this config instance. |
JsonParser |
DeserializationConfig.initialize(JsonParser p,
FormatSchema schema) |
<T> T |
DeserializationContext.readPropertyValue(JsonParser p,
BeanProperty prop,
Class<T> type)
Convenience method that may be used by composite or container deserializers,
for reading one-off values for the composite type, taking into account
annotations that the property (passed to this method -- usually property that
has custom serializer that called this method) has.
|
<T> T |
DeserializationContext.readPropertyValue(JsonParser p,
BeanProperty prop,
JavaType type) |
JsonNode |
DeserializationContext.readTree(JsonParser p) |
<T extends TreeNode> |
ObjectMapper.readTree(JsonParser p)
Method to deserialize JSON content as a tree
JsonNode . |
<T extends TreeNode> |
ObjectReader.readTree(JsonParser p)
Convenience method that binds content read using given parser, using
configuration of this reader, except that content is bound as
JSON tree instead of configured root value type.
|
<T> T |
ObjectReader.readValue(JsonParser p)
Method that binds content read using given parser, using
configuration of this reader, including expected result type.
|
<T> T |
DeserializationContext.readValue(JsonParser p,
Class<T> type)
Convenience method that may be used by composite or container deserializers,
for reading one-off values contained (for sequences, it is more efficient
to actually fetch deserializer once for the whole collection).
|
<T> T |
ObjectMapper.readValue(JsonParser p,
Class<T> valueType)
Method to deserialize JSON content into a non-container
type (it can be an array type, however): typically a bean, array
or a wrapper type (like
Boolean ). |
<T> T |
ObjectReader.readValue(JsonParser p,
Class<T> valueType)
Convenience method that binds content read using given parser, using
configuration of this reader, except that expected value type
is specified with the call (instead of currently configured root type).
|
<T> T |
DeserializationContext.readValue(JsonParser p,
JavaType type) |
<T> T |
ObjectMapper.readValue(JsonParser p,
JavaType valueType)
Type-safe overloaded method, basically alias for
ObjectMapper.readValue(JsonParser, Class) . |
<T> T |
ObjectReader.readValue(JsonParser p,
JavaType valueType)
Type-safe overloaded method, basically alias for
ObjectReader.readValue(JsonParser, ResolvedType) . |
<T> T |
ObjectMapper.readValue(JsonParser p,
ResolvedType valueType)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> T |
ObjectReader.readValue(JsonParser p,
ResolvedType valueType)
Convenience method that binds content read using given parser, using
configuration of this reader, except that expected value type
is specified with the call (instead of currently configured root type).
|
<T> T |
ObjectMapper.readValue(JsonParser p,
TypeReference<T> valueTypeRef)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> T |
ObjectReader.readValue(JsonParser p,
TypeReference<T> valueTypeRef)
Convenience method that binds content read using given parser, using
configuration of this reader, except that expected value type
is specified with the call (instead of currently configured root type).
|
<T> MappingIterator<T> |
ObjectReader.readValues(JsonParser p)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser p,
Class<T> valueType)
Convenience method, equivalent in function to:
|
<T> Iterator<T> |
ObjectReader.readValues(JsonParser p,
Class<T> valueType)
Convenience method that is equivalent to:
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser p,
JavaType valueType)
Convenience method, equivalent in function to:
|
<T> Iterator<T> |
ObjectReader.readValues(JsonParser p,
JavaType valueType)
Convenience method that is equivalent to:
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser p,
ResolvedType valueType)
Convenience method, equivalent in function to:
|
<T> Iterator<T> |
ObjectReader.readValues(JsonParser p,
ResolvedType valueType)
Convenience method that is equivalent to:
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser p,
TypeReference<T> valueTypeRef)
Method for reading sequence of Objects from parser stream.
|
<T> Iterator<T> |
ObjectReader.readValues(JsonParser p,
TypeReference<T> valueTypeRef)
Convenience method that is equivalent to:
|
<T> T |
DeserializationContext.reportTrailingTokens(Class<?> targetType,
JsonParser p,
JsonToken trailingToken) |
void |
DeserializationContext.reportWrongTokenException(JsonParser p,
JsonToken expToken,
String msg,
Object... msgArgs)
Deprecated.
|
JsonMappingException |
DeserializationContext.wrongTokenException(JsonParser p,
Class<?> targetType,
JsonToken expToken,
String extra) |
JsonMappingException |
DeserializationContext.wrongTokenException(JsonParser p,
JavaType targetType,
JsonToken expToken,
String extra)
Helper method for constructing
JsonMappingException to indicate
that the token encountered was of type different than what should
be seen at that position, usually within a sequence of expected tokens. |
JsonMappingException |
DeserializationContext.wrongTokenException(JsonParser p,
JsonToken expToken,
String msg)
Deprecated.
|
Constructor and Description |
---|
DeserializationContext(DeserializationContext src,
DeserializationConfig config,
JsonParser p,
InjectableValues injectableValues)
Constructor used for creating actual per-call instances.
|
MappingIterator(JavaType type,
JsonParser p,
DeserializationContext ctxt,
JsonDeserializer<?> deser,
boolean managedParser,
Object valueToUpdate) |
Modifier and Type | Method and Description |
---|---|
JsonParser |
DataFormatReaders.Match.createParserWithMatch()
Convenience method for trying to construct a
JsonParser for
parsing content which is assumed to be in detected data format. |
Modifier and Type | Method and Description |
---|---|
protected Object |
BeanDeserializerBase._convertObjectId(JsonParser p,
DeserializationContext ctxt,
Object rawId,
JsonDeserializer<Object> idDeser)
Helper method we need to do necessary conversion from whatever native object id
type is, into declared type that Jackson internals expect.
|
protected Object |
BuilderBasedDeserializer._deserialize(JsonParser p,
DeserializationContext ctxt,
Object builder) |
protected Object |
BeanDeserializer._deserializeFromArray(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BuilderBasedDeserializer._deserializeFromArray(JsonParser p,
DeserializationContext ctxt) |
protected Object |
AbstractDeserializer._deserializeFromObjectId(JsonParser p,
DeserializationContext ctxt)
Method called in cases where it looks like we got an Object Id
to parse and use as a reference.
|
protected Object |
AbstractDeserializer._deserializeIfNatural(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer._deserializeOther(JsonParser p,
DeserializationContext ctxt,
JsonToken t) |
protected Object |
BeanDeserializer._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
protected abstract Object |
BeanDeserializerBase._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BuilderBasedDeserializer._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
protected Object |
BeanDeserializer._deserializeWithErrorWrapping(JsonParser p,
DeserializationContext ctxt,
SettableBeanProperty prop) |
protected Object |
BeanDeserializerBase._handleTypedObjectId(JsonParser p,
DeserializationContext ctxt,
Object pojo,
Object rawId)
Offlined method called to handle "native" Object Id that has been read
and known to be associated with given deserialized POJO.
|
protected Object |
BeanDeserializer._missingToken(JsonParser p,
DeserializationContext ctxt)
Deprecated.
|
protected IOException |
SettableBeanProperty._throwAsIOE(JsonParser p,
Exception e) |
protected void |
SettableBeanProperty._throwAsIOE(JsonParser p,
Exception e,
Object value)
Method that takes in exception of any type, and casts or wraps it
to an IOException or its subclass.
|
protected Object |
DefaultDeserializationContext._unwrapAndDeserialize(JsonParser p,
JavaType rootType,
JsonDeserializer<Object> deser,
Object valueToUpdate) |
abstract DefaultDeserializationContext |
DefaultDeserializationContext.createInstance(DeserializationConfig config,
JsonParser p,
InjectableValues values)
Method called to create actual usable per-deserialization
context instance.
|
DefaultDeserializationContext |
DefaultDeserializationContext.Impl.createInstance(DeserializationConfig config,
JsonParser p,
InjectableValues values) |
Object |
AbstractDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs).
|
Object |
BuilderBasedDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs).
|
Object |
SettableAnyProperty.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
SettableBeanProperty.deserialize(JsonParser p,
DeserializationContext ctxt)
This method is needed by some specialized bean deserializers,
and also called by some
SettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object) implementations. |
Object |
BeanDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object bean)
Secondary deserialization method, called in cases where POJO
instance is created as part of deserialization, potentially
after collecting some or all of the properties to set.
|
Object |
BuilderBasedDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object value)
Secondary deserialization method, called in cases where POJO
instance is created as part of deserialization, potentially
after collecting some or all of the properties to set.
|
void |
CreatorProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
abstract void |
SettableBeanProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate mechanism.
|
void |
SettableBeanProperty.Delegating.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
SettableAnyProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance,
String propName)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate method (a setter method).
|
Object |
BeanDeserializerBase.deserializeFromArray(JsonParser p,
DeserializationContext ctxt)
Deprecated.
Since 2.11 Should not be used: was never meant to be called by
code other than sub-classes (implementations), and implementations details
differ
|
Object |
BeanDeserializerBase.deserializeFromBoolean(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON boolean value (true, false)
|
Object |
BeanDeserializerBase.deserializeFromDouble(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON floating-point
number.
|
Object |
BeanDeserializerBase.deserializeFromEmbedded(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeFromNull(JsonParser p,
DeserializationContext ctxt)
Helper method called for rare case of pointing to
JsonToken.VALUE_NULL
token. |
Object |
BeanDeserializerBase.deserializeFromNumber(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt)
General version used when handling needs more advanced features.
|
abstract Object |
BeanDeserializerBase.deserializeFromObject(JsonParser p,
DeserializationContext ctxt)
General version used when handling needs more advanced
features.
|
Object |
BuilderBasedDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt)
General version used when handling needs more advanced
features.
|
protected Object |
BeanDeserializerBase.deserializeFromObjectId(JsonParser p,
DeserializationContext ctxt)
Method called in cases where it looks like we got an Object Id
to parse and use as a reference.
|
protected Object |
BeanDeserializerBase.deserializeFromObjectUsingNonDefault(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanDeserializerBase.deserializeFromString(JsonParser p,
DeserializationContext ctxt) |
Object |
CreatorProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
abstract Object |
SettableBeanProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance)
Alternative to
SettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object) that returns
either return value of setter method called (if one is),
or null to indicate that no return value is available. |
Object |
SettableBeanProperty.Delegating.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BuilderBasedDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BuilderBasedDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser p,
DeserializationContext ctxt) |
Object |
SettableBeanProperty.deserializeWith(JsonParser p,
DeserializationContext ctxt,
Object toUpdate) |
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BuilderBasedDeserializer.deserializeWithExternalTypeId(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser p,
DeserializationContext ctxt,
Object bean) |
protected Object |
BuilderBasedDeserializer.deserializeWithExternalTypeId(JsonParser p,
DeserializationContext ctxt,
Object bean) |
protected Object |
BeanDeserializerBase.deserializeWithObjectId(JsonParser p,
DeserializationContext ctxt)
Alternative deserialization method used when we expect to see Object Id;
if so, we will need to ensure that the Id is seen before anything
else, to ensure that it is available for solving references,
even if JSON itself is not ordered that way.
|
Object |
AbstractDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
BeanDeserializerBase.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt)
Method called when there are declared "unwrapped" properties
which need special handling
|
protected Object |
BuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt)
Method called when there are declared "unwrapped" properties
which need special handling
|
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt,
Object bean) |
protected Object |
BuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt,
Object builder,
TokenBuffer tokens) |
protected Object |
BeanDeserializer.deserializeWithView(JsonParser p,
DeserializationContext ctxt,
Object bean,
Class<?> activeView) |
protected Object |
BuilderBasedDeserializer.deserializeWithView(JsonParser p,
DeserializationContext ctxt,
Object bean,
Class<?> activeView) |
protected void |
BeanDeserializerBase.handleIgnoredProperty(JsonParser p,
DeserializationContext ctxt,
Object beanOrClass,
String propName)
Method called when an explicitly ignored property (one specified with a
name to match, either by property annotation or class annotation) is encountered.
|
Object |
DeserializationProblemHandler.handleMissingInstantiator(DeserializationContext ctxt,
Class<?> instClass,
JsonParser p,
String msg)
Deprecated.
Since 2.9: use variant that takes
ValueInstantiator |
Object |
DeserializationProblemHandler.handleMissingInstantiator(DeserializationContext ctxt,
Class<?> instClass,
ValueInstantiator valueInsta,
JsonParser p,
String msg)
Method called when instance creation for a type fails due to lack of an
instantiator.
|
protected Object |
BeanDeserializerBase.handlePolymorphic(JsonParser p,
DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Method called in cases where we may have polymorphic deserialization
case: that is, type of Creator-constructed bean is not the type
of deserializer itself.
|
Object |
DeserializationProblemHandler.handleUnexpectedToken(DeserializationContext ctxt,
Class<?> targetType,
JsonToken t,
JsonParser p,
String failureMsg)
Deprecated.
Since 2.10
|
Object |
DeserializationProblemHandler.handleUnexpectedToken(DeserializationContext ctxt,
JavaType targetType,
JsonToken t,
JsonParser p,
String failureMsg)
Method that deserializers should call if the first token of the value to
deserialize is of unexpected type (that is, type of token that deserializer
cannot handle).
|
boolean |
DeserializationProblemHandler.handleUnknownProperty(DeserializationContext ctxt,
JsonParser p,
JsonDeserializer<?> deserializer,
Object beanOrClass,
String propertyName)
Method called when a JSON Object property with an unrecognized
name is encountered.
|
protected void |
BeanDeserializerBase.handleUnknownProperty(JsonParser p,
DeserializationContext ctxt,
Object beanOrClass,
String propName)
Method called when a JSON property is encountered that has not matching
setter, any-setter or field, and thus cannot be assigned.
|
protected void |
BeanDeserializerBase.handleUnknownVanilla(JsonParser p,
DeserializationContext ctxt,
Object beanOrBuilder,
String propName)
Helper method called for an unknown property, when using "vanilla"
processing.
|
Object |
DeserializationProblemHandler.handleWeirdNativeValue(DeserializationContext ctxt,
JavaType targetType,
Object valueToConvert,
JsonParser p)
Method called when an embedded (native) value (
JsonToken.VALUE_EMBEDDED_OBJECT )
cannot be converted directly into expected value type (usually POJO). |
Object |
DefaultDeserializationContext.readRootValue(JsonParser p,
JavaType valueType,
JsonDeserializer<Object> deser,
Object valueToUpdate) |
Constructor and Description |
---|
DefaultDeserializationContext(DefaultDeserializationContext src,
DeserializationConfig config,
JsonParser p,
InjectableValues values) |
UnresolvedForwardReference(JsonParser p,
String msg) |
UnresolvedForwardReference(JsonParser p,
String msg,
JsonLocation loc,
ReadableObjectId roid) |
Modifier and Type | Field and Description |
---|---|
protected JsonParser |
PropertyValueBuffer._parser |
Modifier and Type | Method and Description |
---|---|
protected Object |
ExternalTypeHandler._deserialize(JsonParser p,
DeserializationContext ctxt,
int index,
String typeId) |
protected void |
ExternalTypeHandler._deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object bean,
int index,
String typeId) |
protected Object |
BeanAsArrayBuilderDeserializer._deserializeFromNonArray(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanAsArrayDeserializer._deserializeFromNonArray(JsonParser p,
DeserializationContext ctxt) |
protected Object |
BeanAsArrayBuilderDeserializer._deserializeNonVanilla(JsonParser p,
DeserializationContext ctxt)
Alternate deserialization method that has to check many more configuration
aspects than the "vanilla" processing.
|
protected Object |
BeanAsArrayDeserializer._deserializeNonVanilla(JsonParser p,
DeserializationContext ctxt)
Alternate deserialization method that has to check many more configuration
aspects than the "vanilla" processing.
|
protected Object |
BeanAsArrayBuilderDeserializer._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
protected Object |
BeanAsArrayDeserializer._deserializeUsingPropertyBased(JsonParser p,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
Object |
ExternalTypeHandler.complete(JsonParser p,
DeserializationContext ctxt,
Object bean)
Method called after JSON Object closes, and has to ensure that all external
type ids have been handled.
|
Object |
ExternalTypeHandler.complete(JsonParser p,
DeserializationContext ctxt,
PropertyValueBuffer buffer,
PropertyBasedCreator creator)
Variant called when creation of the POJO involves buffering of creator properties
as well as property-based creator.
|
Object |
BeanAsArrayBuilderDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanAsArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
ErrorThrowingDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
FailingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
TypeWrappedDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
UnsupportedTypeDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanAsArrayBuilderDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object value) |
Object |
BeanAsArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object bean) |
Object |
TypeWrappedDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
void |
FieldProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
InnerClassProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object bean) |
void |
ManagedReferenceProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
MergingSettableBeanProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
MethodProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
ObjectIdReferenceProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
ObjectIdValueProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
void |
SetterlessProperty.deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
BeanAsArrayBuilderDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt) |
Object |
BeanAsArrayDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt) |
Object |
FieldProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
InnerClassProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
ManagedReferenceProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
MergingSettableBeanProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
MethodProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
ObjectIdReferenceProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
ObjectIdValueProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
SetterlessProperty.deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
Object instance) |
Object |
TypeWrappedDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
boolean |
BeanPropertyMap.findDeserializeAndSet(JsonParser p,
DeserializationContext ctxt,
Object bean,
String key)
Convenience method that tries to find property with given name, and
if it is found, call
SettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object)
on it, and return true; or, if not found, return false. |
boolean |
ExternalTypeHandler.handlePropertyValue(JsonParser p,
DeserializationContext ctxt,
String propName,
Object bean)
Method called to ask handler to handle value of given property,
at point where parser points to the first token of the value.
|
boolean |
ExternalTypeHandler.handleTypePropertyValue(JsonParser p,
DeserializationContext ctxt,
String propName,
Object bean)
Method called to see if given property/value pair is an external type
id; and if so handle it.
|
boolean |
ObjectIdReader.isValidReferencePropertyName(String name,
JsonParser parser)
Convenience method, equivalent to calling:
readerInstance.generator.isValidReferencePropertyName(name, parser);
and used to determine whether Object Ids handled by the underlying
generator may be in form of (JSON) Objects. |
Object |
UnwrappedPropertyHandler.processUnwrapped(JsonParser originalParser,
DeserializationContext ctxt,
Object bean,
TokenBuffer buffered) |
Object |
ObjectIdReader.readObjectReference(JsonParser jp,
DeserializationContext ctxt)
Method called to read value that is expected to be an Object Reference
(that is, value of an Object Id used to refer to another object).
|
PropertyValueBuffer |
PropertyBasedCreator.startBuilding(JsonParser p,
DeserializationContext ctxt,
ObjectIdReader oir)
Method called when starting to build a bean instance.
|
Constructor and Description |
---|
PropertyValueBuffer(JsonParser p,
DeserializationContext ctxt,
int paramCount,
ObjectIdReader oir) |
Modifier and Type | Method and Description |
---|---|
protected CoercionAction |
StdDeserializer._checkFloatToIntCoercion(JsonParser p,
DeserializationContext ctxt,
Class<?> rawTargetType) |
protected Boolean |
StdDeserializer._coerceBooleanFromInt(JsonParser p,
DeserializationContext ctxt,
Class<?> rawTargetType) |
protected Object |
StdDeserializer._coerceIntegral(JsonParser p,
DeserializationContext ctxt)
Helper method called in case where an integral number is encountered, but
config settings suggest that a coercion may be needed to "upgrade"
Number into "bigger" type like Long or
BigInteger |
protected EnumSet<?> |
EnumSetDeserializer._deserialize(JsonParser p,
DeserializationContext ctxt,
EnumSet result) |
protected String[] |
StringArrayDeserializer._deserializeCustom(JsonParser p,
DeserializationContext ctxt,
String[] old)
Offlined version used when we do not use the default deserialization method.
|
protected T |
StdDeserializer._deserializeFromArray(JsonParser p,
DeserializationContext ctxt)
Helper method that allows easy support for array-related coercion features:
checks for either empty array, or single-value array-wrapped value (if coercion
enabled by
CoercionConfigs (since 2.12), and either reports
an exception (if no coercion allowed), or returns appropriate
result value using coercion mechanism indicated. |
protected Collection<Object> |
ArrayBlockingQueueDeserializer._deserializeFromArray(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result0) |
protected Collection<Object> |
CollectionDeserializer._deserializeFromArray(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result) |
protected T |
StdDeserializer._deserializeFromEmpty(JsonParser p,
DeserializationContext ctxt)
Deprecated.
Since 2.12
|
protected Object |
StdDeserializer._deserializeFromEmptyString(JsonParser p,
DeserializationContext ctxt,
CoercionAction act,
Class<?> rawTargetType,
String desc) |
protected Object |
FromStringDeserializer._deserializeFromOther(JsonParser p,
DeserializationContext ctxt,
JsonToken t) |
protected T |
StdDeserializer._deserializeFromString(JsonParser p,
DeserializationContext ctxt)
Helper method to call in case deserializer does not support native automatic
use of incoming String values, but there may be standard coercions to consider.
|
protected Collection<Object> |
CollectionDeserializer._deserializeFromString(JsonParser p,
DeserializationContext ctxt,
String value)
Logic extracted to deal with incoming String value.
|
protected Object |
EnumDeserializer._deserializeOther(JsonParser p,
DeserializationContext ctxt) |
Map<Object,Object> |
MapDeserializer._deserializeUsingCreator(JsonParser p,
DeserializationContext ctxt) |
EnumMap<?,?> |
EnumMapDeserializer._deserializeUsingProperties(JsonParser p,
DeserializationContext ctxt) |
protected Collection<Object> |
CollectionDeserializer._deserializeWithObjectId(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result) |
protected T |
StdDeserializer._deserializeWrappedValue(JsonParser p,
DeserializationContext ctxt)
Helper called to support
DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS :
default implementation simply calls
JsonDeserializer.deserialize(JsonParser, DeserializationContext) ,
but handling may be overridden. |
protected void |
StdDeserializer._failDoubleToIntCoercion(JsonParser p,
DeserializationContext ctxt,
String type)
Deprecated.
|
protected Object |
EnumDeserializer._fromInteger(JsonParser p,
DeserializationContext ctxt,
int index) |
protected Object |
EnumDeserializer._fromString(JsonParser p,
DeserializationContext ctxt,
String text) |
protected Object |
StdDelegatingDeserializer._handleIncompatibleUpdateValue(JsonParser p,
DeserializationContext ctxt,
Object intoValue)
Overridable handler method called when
StdDelegatingDeserializer.deserialize(JsonParser, DeserializationContext, Object)
has been called with a value that is not compatible with delegate value. |
protected Object |
UntypedObjectDeserializer._mapObjectWithDups(JsonParser p,
DeserializationContext ctxt,
Map<String,Object> result,
String key,
Object oldValue,
Object newValue,
String nextKey) |
protected Object |
UntypedObjectDeserializer.Vanilla._mapObjectWithDups(JsonParser p,
DeserializationContext ctxt,
Map<String,Object> result,
String key,
Object oldValue,
Object newValue,
String nextKey) |
protected Boolean |
StdDeserializer._parseBoolean(JsonParser p,
DeserializationContext ctxt,
Class<?> targetType)
Helper method called for cases where non-primitive, boolean-based value
is to be deserialized: result of this method will be
Boolean ,
although actual target type may be something different. |
protected boolean |
StdDeserializer._parseBooleanFromInt(JsonParser p,
DeserializationContext ctxt)
Deprecated.
|
protected boolean |
StdDeserializer._parseBooleanPrimitive(DeserializationContext ctxt,
JsonParser p,
Class<?> targetType)
Deprecated.
|
protected boolean |
StdDeserializer._parseBooleanPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Byte |
NumberDeserializers.ByteDeserializer._parseByte(JsonParser p,
DeserializationContext ctxt) |
protected byte |
StdDeserializer._parseBytePrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Date |
DateDeserializers.DateBasedDeserializer._parseDate(JsonParser p,
DeserializationContext ctxt) |
protected Date |
StdDeserializer._parseDate(JsonParser p,
DeserializationContext ctxt) |
protected Date |
StdDeserializer._parseDateFromArray(JsonParser p,
DeserializationContext ctxt) |
protected Double |
NumberDeserializers.DoubleDeserializer._parseDouble(JsonParser p,
DeserializationContext ctxt) |
protected double |
StdDeserializer._parseDoublePrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Float |
NumberDeserializers.FloatDeserializer._parseFloat(JsonParser p,
DeserializationContext ctxt) |
protected float |
StdDeserializer._parseFloatPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Integer |
StdDeserializer._parseInteger(JsonParser p,
DeserializationContext ctxt,
Class<?> targetType) |
protected int |
StdDeserializer._parseIntPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Long |
StdDeserializer._parseLong(JsonParser p,
DeserializationContext ctxt,
Class<?> targetType) |
protected long |
StdDeserializer._parseLongPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected Short |
NumberDeserializers.ShortDeserializer._parseShort(JsonParser p,
DeserializationContext ctxt) |
protected short |
StdDeserializer._parseShortPrimitive(JsonParser p,
DeserializationContext ctxt) |
protected String |
StdDeserializer._parseString(JsonParser p,
DeserializationContext ctxt)
Helper method used for accessing String value, if possible, doing
necessary conversion or throwing exception as necessary.
|
protected void |
MapDeserializer._readAndBind(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result) |
protected void |
MapDeserializer._readAndBindStringKeyMap(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result)
Optimized method used when keys can be deserialized as plain old
String s, and there is no custom deserialized
specified. |
protected void |
MapDeserializer._readAndUpdate(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result) |
protected void |
MapDeserializer._readAndUpdateStringKeyMap(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result)
Optimized method used when keys can be deserialized as plain old
String s, and there is no custom deserializer
specified. |
protected void |
StdDeserializer._verifyEndArrayForSingle(JsonParser p,
DeserializationContext ctxt) |
protected void |
StdDeserializer._verifyNumberForScalarCoercion(DeserializationContext ctxt,
JsonParser p)
Deprecated.
|
protected TokenBuffer |
TokenBufferDeserializer.createBufferInstance(JsonParser p) |
AtomicBoolean |
AtomicBooleanDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
AtomicInteger |
AtomicIntegerDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
AtomicLong |
AtomicLongDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
ByteBuffer |
ByteBufferDeserializer.deserialize(JsonParser parser,
DeserializationContext cx) |
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Calendar |
DateDeserializers.CalendarDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Date |
DateDeserializers.DateDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Date |
DateDeserializers.SqlDateDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Timestamp |
DateDeserializers.TimestampDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
DelegatingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
EnumDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
EnumMap<?,?> |
EnumMapDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
EnumSet<?> |
EnumSetDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
T |
FromStringDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
JsonNode |
JsonNodeDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Implementation that will produce types of any JSON nodes; not just one
deserializer is registered to handle (in case of more specialized handler).
|
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Map.Entry<Object,Object> |
MapEntryDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
NullifyingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Boolean |
NumberDeserializers.BooleanDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Byte |
NumberDeserializers.ByteDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Short |
NumberDeserializers.ShortDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Character |
NumberDeserializers.CharacterDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Integer |
NumberDeserializers.IntegerDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Long |
NumberDeserializers.LongDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Float |
NumberDeserializers.FloatDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Double |
NumberDeserializers.DoubleDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
NumberDeserializers.NumberDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
BigInteger |
NumberDeserializers.BigIntegerDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
BigDecimal |
NumberDeserializers.BigDecimalDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object[] |
ObjectArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
T |
ReferenceTypeDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
StackTraceElement |
StackTraceElementDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
T |
StdDelegatingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
T |
StdNodeBasedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
String[] |
StringArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Collection<String> |
StringCollectionDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
String |
StringDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
TokenBuffer |
TokenBufferDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
UntypedObjectDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Object |
UntypedObjectDeserializer.Vanilla.deserialize(JsonParser p,
DeserializationContext ctxt) |
ByteBuffer |
ByteBufferDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
ByteBuffer intoValue) |
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result) |
Collection<String> |
StringCollectionDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Collection<String> result) |
EnumMap<?,?> |
EnumMapDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
EnumMap result) |
EnumSet<?> |
EnumSetDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
EnumSet<?> result) |
Map.Entry<Object,Object> |
MapEntryDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Map.Entry<Object,Object> result) |
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> result) |
Object |
DelegatingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
T |
StdDelegatingDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
Object |
UntypedObjectDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
Object |
UntypedObjectDeserializer.Vanilla.deserialize(JsonParser p,
DeserializationContext ctxt,
Object intoValue) |
Object[] |
ObjectArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
Object[] intoValue) |
String[] |
StringArrayDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
String[] intoValue) |
T |
PrimitiveArrayDeserializers.deserialize(JsonParser p,
DeserializationContext ctxt,
T existing) |
T |
ReferenceTypeDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
T reference) |
T |
StdScalarDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt,
T intoValue)
Overridden to simply call
deserialize() method that does not take value
to update, since scalar values are usually non-mergeable. |
protected Byte[] |
ObjectArrayDeserializer.deserializeFromBase64(JsonParser p,
DeserializationContext ctxt) |
Object |
ThrowableDeserializer.deserializeFromObject(JsonParser p,
DeserializationContext ctxt) |
Object |
ArrayBlockingQueueDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
CollectionDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
DelegatingDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
EnumMapDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
EnumSetDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
MapDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
MapEntryDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
NullifyingDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Boolean |
NumberDeserializers.BooleanDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Integer |
NumberDeserializers.IntegerDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Double |
NumberDeserializers.DoubleDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
NumberDeserializers.NumberDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
As mentioned in class Javadoc, there is additional complexity in
handling potentially mixed type information here.
|
Object[] |
ObjectArrayDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
PrimitiveArrayDeserializers.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
ReferenceTypeDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdDelegatingDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Base implementation that does not assume specific type
inclusion mechanism.
|
Object |
StdNodeBasedDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer td) |
Object |
StdScalarDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StringArrayDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StringCollectionDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
String |
StringDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
UntypedObjectDeserializer.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
UntypedObjectDeserializer.Vanilla.deserializeWithType(JsonParser p,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
protected void |
StdDeserializer.handleMissingEndArrayForSingle(JsonParser p,
DeserializationContext ctxt) |
protected Object[] |
ObjectArrayDeserializer.handleNonArray(JsonParser p,
DeserializationContext ctxt) |
protected T |
PrimitiveArrayDeserializers.handleNonArray(JsonParser p,
DeserializationContext ctxt) |
protected Collection<Object> |
CollectionDeserializer.handleNonArray(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result)
Helper method called when current token is no START_ARRAY.
|
protected EnumSet<?> |
EnumSetDeserializer.handleNonArray(JsonParser p,
DeserializationContext ctxt,
EnumSet result) |
protected abstract T |
PrimitiveArrayDeserializers.handleSingleElementUnwrapped(JsonParser p,
DeserializationContext ctxt) |
protected void |
StdDeserializer.handleUnknownProperty(JsonParser p,
DeserializationContext ctxt,
Object instanceOrClass,
String propName)
Method called to deal with a property that did not map to a known
Bean property.
|
protected Object |
UntypedObjectDeserializer.mapArray(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java value.
|
protected Object |
UntypedObjectDeserializer.Vanilla.mapArray(JsonParser p,
DeserializationContext ctxt) |
protected Object |
UntypedObjectDeserializer.mapArray(JsonParser p,
DeserializationContext ctxt,
Collection<Object> result) |
protected Object[] |
UntypedObjectDeserializer.mapArrayToArray(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java Object array (Object[]).
|
protected Object[] |
UntypedObjectDeserializer.Vanilla.mapArrayToArray(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java Object array (Object[]).
|
protected Object |
UntypedObjectDeserializer.mapObject(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Object into a Java value.
|
protected Object |
UntypedObjectDeserializer.Vanilla.mapObject(JsonParser p,
DeserializationContext ctxt)
Method called to map a JSON Object into a Java value.
|
protected Object |
UntypedObjectDeserializer.mapObject(JsonParser p,
DeserializationContext ctxt,
Map<Object,Object> m) |
Modifier and Type | Method and Description |
---|---|
static MismatchedInputException |
MismatchedInputException.from(JsonParser p,
Class<?> targetType,
String msg) |
static MismatchedInputException |
MismatchedInputException.from(JsonParser p,
JavaType targetType,
String msg) |
static IgnoredPropertyException |
IgnoredPropertyException.from(JsonParser p,
Object fromObjectOrClass,
String propertyName,
Collection<Object> propertyIds)
Factory method used for constructing instances of this exception type.
|
static UnrecognizedPropertyException |
UnrecognizedPropertyException.from(JsonParser p,
Object fromObjectOrClass,
String propertyName,
Collection<Object> propertyIds)
Factory method used for constructing instances of this exception type.
|
static MismatchedInputException |
MismatchedInputException.from(JsonParser p,
String msg)
Deprecated.
|
static InvalidDefinitionException |
InvalidDefinitionException.from(JsonParser p,
String msg,
BeanDescription bean,
BeanPropertyDefinition prop) |
static InvalidDefinitionException |
InvalidDefinitionException.from(JsonParser p,
String msg,
JavaType type) |
static ValueInstantiationException |
ValueInstantiationException.from(JsonParser p,
String msg,
JavaType type) |
static InvalidTypeIdException |
InvalidTypeIdException.from(JsonParser p,
String msg,
JavaType baseType,
String typeId) |
static ValueInstantiationException |
ValueInstantiationException.from(JsonParser p,
String msg,
JavaType type,
Throwable cause) |
static InvalidFormatException |
InvalidFormatException.from(JsonParser p,
String msg,
Object value,
Class<?> targetType) |
Modifier and Type | Method and Description |
---|---|
Object |
CoreXMLDeserializers.Std.deserialize(JsonParser p,
DeserializationContext ctxt) |
Path |
NioPathDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
static Object |
TypeDeserializer.deserializeIfNatural(JsonParser p,
DeserializationContext ctxt,
Class<?> base) |
static Object |
TypeDeserializer.deserializeIfNatural(JsonParser p,
DeserializationContext ctxt,
JavaType baseType)
Helper method used to check if given parser might be pointing to
a "natural" value, and one that would be acceptable as the
result value (compatible with declared base type)
|
abstract Object |
TypeDeserializer.deserializeTypedFromAny(JsonParser p,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
may have been serialized using any kind of JSON value
(Array, Object, scalar).
|
abstract Object |
TypeDeserializer.deserializeTypedFromArray(JsonParser p,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Array (regardless of Java type).
|
abstract Object |
TypeDeserializer.deserializeTypedFromObject(JsonParser p,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Object (regardless of Java type).
|
abstract Object |
TypeDeserializer.deserializeTypedFromScalar(JsonParser p,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as a scalar JSON value (something other
than Array or Object), regardless of Java type.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AsArrayTypeDeserializer._deserialize(JsonParser p,
DeserializationContext ctxt)
Method that handles type information wrapper, locates actual
subtype deserializer to use, and calls it to do actual
deserialization.
|
protected Object |
AsWrapperTypeDeserializer._deserialize(JsonParser p,
DeserializationContext ctxt)
Method that handles type information wrapper, locates actual
subtype deserializer to use, and calls it to do actual
deserialization.
|
protected Object |
AsPropertyTypeDeserializer._deserializeTypedForId(JsonParser p,
DeserializationContext ctxt,
TokenBuffer tb,
String typeId) |
protected Object |
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser p,
DeserializationContext ctxt,
TokenBuffer tb) |
protected Object |
TypeDeserializerBase._deserializeWithNativeTypeId(JsonParser jp,
DeserializationContext ctxt)
Deprecated.
|
protected Object |
TypeDeserializerBase._deserializeWithNativeTypeId(JsonParser p,
DeserializationContext ctxt,
Object typeId)
Helper method called when
JsonParser indicates that it can use
so-called native type ids, and such type id has been found. |
protected String |
AsArrayTypeDeserializer._locateTypeId(JsonParser p,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsPropertyTypeDeserializer.deserializeTypedFromAny(JsonParser p,
DeserializationContext ctxt) |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Array.
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Object
|
Object |
AsDeductionTypeDeserializer.deserializeTypedFromObject(JsonParser p,
DeserializationContext ctxt) |
Object |
AsPropertyTypeDeserializer.deserializeTypedFromObject(JsonParser p,
DeserializationContext ctxt)
This is the trickiest thing to handle, since property we are looking
for may be anywhere...
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Deserializing type id enclosed using WRAPPER_OBJECT style is straightforward
|
Object |
AsArrayTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt) |
Modifier and Type | Class and Description |
---|---|
class |
TreeTraversingParser
Facade over
JsonNode that implements JsonParser to allow
accessing contents of JSON tree in alternate form (stream of tokens). |
Modifier and Type | Method and Description |
---|---|
JsonParser |
TreeTraversingParser.skipChildren() |
JsonParser |
BaseJsonNode.traverse() |
JsonParser |
BaseJsonNode.traverse(ObjectCodec codec) |
Modifier and Type | Class and Description |
---|---|
protected static class |
TokenBuffer.Parser |
Modifier and Type | Method and Description |
---|---|
JsonParser |
TokenBuffer.asParser()
Method used to create a
JsonParser that can read contents
stored in this buffer. |
JsonParser |
TokenBuffer.asParser(JsonParser src) |
JsonParser |
TokenBuffer.asParser(ObjectCodec codec)
Method used to create a
JsonParser that can read contents
stored in this buffer. |
JsonParser |
TokenBuffer.asParserOnFirstToken()
Same as:
|
Modifier and Type | Method and Description |
---|---|
protected void |
TokenBuffer._copyBufferContents(JsonParser p) |
static TokenBuffer |
TokenBuffer.asCopyOfValue(JsonParser p)
Convenience method, equivalent to:
|
JsonParser |
TokenBuffer.asParser(JsonParser src) |
void |
TokenBuffer.copyCurrentEvent(JsonParser p) |
void |
TokenBuffer.copyCurrentStructure(JsonParser p) |
TokenBuffer |
TokenBuffer.deserialize(JsonParser p,
DeserializationContext ctxt)
Helper method used by standard deserializer.
|
Constructor and Description |
---|
TokenBuffer(JsonParser p) |
TokenBuffer(JsonParser p,
DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
OptionalInt |
OptionalIntDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
OptionalLong |
OptionalLongDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
protected JsonParser |
ProviderBase._createParser(ObjectReader reader,
InputStream rawStream)
Overridable helper method called to create a
JsonParser for reading
contents of given raw InputStream . |
Modifier and Type | Method and Description |
---|---|
abstract ObjectReader |
ObjectReaderModifier.modify(EndpointConfigBase<?> endpoint,
MultivaluedMap<String,String> httpHeaders,
JavaType resultType,
ObjectReader r,
JsonParser p)
Method called to let modifier make any changes it wants to to objects
used for reading request objects for specified endpoint.
|
Modifier and Type | Method and Description |
---|---|
DataHandler |
DataHandlerJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Element |
DomElementJsonDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt)
Deprecated.
|
protected Element |
DomElementJsonDeserializer.fromNode(JsonParser p,
Document document,
JsonNode jsonNode)
Deprecated.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.