Package | Description |
---|---|
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.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.databind.ser.std | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<Object> |
BeanDeserializerBase._findSubclassDeserializer(DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Helper method called to (try to) locate deserializer for given sub-type of
type that this deserializer handles.
|
protected Object |
BuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser p,
DeserializationContext ctxt,
Object builder,
TokenBuffer tokens) |
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.
|
protected Object |
BeanDeserializerBase.handleUnknownProperties(DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Method called to handle set of one or more unknown properties,
stored in their entirety in given
TokenBuffer
(as field entries, name and value). |
Modifier and Type | Method and Description |
---|---|
Object |
UnwrappedPropertyHandler.processUnwrapped(JsonParser originalParser,
DeserializationContext ctxt,
Object bean,
TokenBuffer buffered) |
Constructor and Description |
---|
ExternalTypeHandler(JavaType beanType,
com.fasterxml.jackson.databind.deser.impl.ExternalTypeHandler.ExtTypedProperty[] properties,
Map<String,Object> nameToPropertyIndex,
String[] typeIds,
TokenBuffer[] tokens) |
Modifier and Type | Method and Description |
---|---|
protected TokenBuffer |
TokenBufferDeserializer.createBufferInstance(JsonParser p) |
TokenBuffer |
TokenBufferDeserializer.deserialize(JsonParser p,
DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
protected Object |
AsPropertyTypeDeserializer._deserializeTypedForId(JsonParser p,
DeserializationContext ctxt,
TokenBuffer tb) |
protected Object |
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser p,
DeserializationContext ctxt,
TokenBuffer tb) |
Modifier and Type | Method and Description |
---|---|
void |
TokenBufferSerializer.serialize(TokenBuffer value,
JsonGenerator jgen,
SerializerProvider provider) |
void |
TokenBufferSerializer.serializeWithType(TokenBuffer value,
JsonGenerator g,
SerializerProvider provider,
TypeSerializer typeSer)
Implementing typed output for contents of a TokenBuffer is very tricky,
since we do not know for sure what its contents might look like (or, rather,
we do know when serializing, but not necessarily when deserializing!)
One possibility would be to check the current token, and use that to
determine if we would output JSON Array, Object or scalar value.
|
Modifier and Type | Method and Description |
---|---|
TokenBuffer |
TokenBuffer.append(TokenBuffer other)
Helper method that will append contents of given buffer into this
buffer.
|
static TokenBuffer |
TokenBuffer.asCopyOfValue(JsonParser p)
Convenience method, equivalent to:
|
TokenBuffer |
TokenBuffer.deserialize(JsonParser p,
DeserializationContext ctxt)
Helper method used by standard deserializer.
|
TokenBuffer |
TokenBuffer.forceUseOfBigDecimal(boolean b) |
TokenBuffer |
TokenBuffer.overrideParentContext(JsonStreamContext ctxt)
Method that allows explicitly specifying parent parse context to associate
with contents of this buffer.
|
Modifier and Type | Method and Description |
---|---|
TokenBuffer |
TokenBuffer.append(TokenBuffer other)
Helper method that will append contents of given buffer into this
buffer.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.