| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | AvroTypeDeserializer(JavaType baseType, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected JavaType | _handleUnknownTypeId(DeserializationContext ctxt, String typeId)
Overrides com. Helper method called when given type id cannot be resolved into
concrete deserializer either directly (using given |
| public Object | deserializeTypedFromAny(JsonParser p, DeserializationContext ctxt)
Implements abstract com. 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). |
| public Object | deserializeTypedFromArray(JsonParser p, DeserializationContext ctxt)
Implements abstract com. Method called to let this type deserializer handle deserialization of "typed" object, when value itself is serialized as JSON Array (regardless of Java type). |
| public Object | deserializeTypedFromObject(JsonParser p, DeserializationContext ctxt)
Implements abstract com. Method called to let this type deserializer handle deserialization of "typed" object, when value itself is serialized as JSON Object (regardless of Java type). |
| public Object | deserializeTypedFromScalar(JsonParser p, DeserializationContext ctxt)
Implements abstract com. 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. |
| public TypeDeserializer | forProperty(BeanProperty prop)
Implements abstract com. Method called to create contextual version, to be used for values of given property. |
| public JsonTypeInfo. | getTypeInclusion()
Implements abstract com. Accessor for type information inclusion method that deserializer uses; indicates how type information is (expected to be) embedded in JSON input. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| AvroTypeDeserializer | back to summary |
|---|---|
| protected AvroTypeDeserializer(JavaType baseType, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl) | |
| AvroTypeDeserializer | back to summary |
|---|---|
| protected AvroTypeDeserializer(TypeDeserializerBase src, BeanProperty property) | |
| _handleUnknownTypeId | back to summary |
|---|---|
| protected JavaType _handleUnknownTypeId(DeserializationContext ctxt, String typeId) throws IOException Overrides com. Doc from com. Helper method called when given type id cannot be resolved into
concrete deserializer either directly (using given
| |
| deserializeTypedFromAny | back to summary |
|---|---|
| public Object deserializeTypedFromAny(JsonParser p, DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. 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). Should only be called if JSON serialization is polymorphic (not Java type); for example when using JSON node representation, or "untyped" Java object (which may be Map, Collection, wrapper/primitive etc).
| |
| deserializeTypedFromArray | back to summary |
|---|---|
| public Object deserializeTypedFromArray(JsonParser p, DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Array (regardless of Java type).
Method needs to figure out intended
polymorphic type, locate
| |
| deserializeTypedFromObject | back to summary |
|---|---|
| public Object deserializeTypedFromObject(JsonParser p, DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Object (regardless of Java type).
Method needs to figure out intended
polymorphic type, locate
| |
| deserializeTypedFromScalar | back to summary |
|---|---|
| public Object deserializeTypedFromScalar(JsonParser p, DeserializationContext ctxt) throws IOException Implements abstract com. Doc from com. 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.
Method needs to figure out intended
polymorphic type, locate
| |
| forProperty | back to summary |
|---|---|
| public TypeDeserializer forProperty(BeanProperty prop) Implements abstract com. Doc from com. Method called to create contextual version, to be used for
values of given property. This may be the type itself
(as is the case for bean properties), or values contained
(for
| |
| getTypeInclusion | back to summary |
|---|---|
| public JsonTypeInfo. Implements abstract com. Doc from com. Accessor for type information inclusion method that deserializer uses; indicates how type information is (expected to be) embedded in JSON input.
| |