java.lang.Object
(either explicitly, or due to type erasure).
If so, "natural" mapping is used to convert JSON values to their natural
Java object matches: JSON arrays to Java java.util.List s (or, if configured,
Object[]), JSON objects to java.util.Map s, numbers to
java.lang.Number s, booleans to java.lang.Boolean s and
strings to java.lang.String (and nulls to nulls).
| Modifier and Type | Class and Description |
|---|---|
| public static class | UntypedObjectDeserializer.Vanilla
Deprecated
Streamlined version of UntypedObjectDeserializer that has fewer checks and
is only used when no custom deserializer overrides are applied.
|
| Modifier and Type | Field and Description |
|---|---|
| protected JsonDeserializer | |
| protected JavaType | _listType
If |
| protected JsonDeserializer | |
| protected JavaType | _mapType
If |
| protected final boolean | |
| protected JsonDeserializer | |
| protected JsonDeserializer | |
| protected static final Object[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | UntypedObjectDeserializer(UntypedObjectDeserializer base, JsonDeserializer<?> mapDeser, JsonDeserializer<?> listDeser, JsonDeserializer<?> stringDeser, JsonDeserializer<?> numberDeser)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected JsonDeserializer | |
| protected JsonDeserializer | |
| protected Object | _mapObjectWithDups(JsonParser p, DeserializationContext ctxt, final Map<String, Object> result, String key, Object oldValue, Object newValue, String nextKey)
|
| private void | |
| public JsonDeserializer | createContextual(DeserializationContext
Deserialization context to access configuration, additional
deserializers that may be needed by this deserializer ctxt, BeanProperty Method, field or constructor parameter that represents the property
(and is used to assign deserialized value).
Should be available; but there may be cases where caller cannot provide it and
null is passed instead (in which case impls usually pass 'this' deserializer as is) property)Implements com. |
| public Object | deserialize(JsonParser
Parsed used for reading JSON content p, DeserializationContext Context that can be used to access information about
this deserialization activity. ctxt)Implements abstract com. |
| public Object | deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue)
Overrides com. deserialize(JsonParser, DeserializationContext)),
which takes in initialized value instance, to be
configured and/or populated by deserializer.
|
| public Object | deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer
Deserializer to use for handling type information typeDeserializer)Overrides com. |
| public boolean | isCachable()
Overrides com. |
| public LogicalType | logicalType()
Overrides com. |
| protected Object | mapArray(JsonParser p, DeserializationContext ctxt)
Method called to map a JSON Array into a Java value. |
| protected Object | |
| protected Object[] | mapArrayToArray(JsonParser p, DeserializationContext ctxt)
Method called to map a JSON Array into a Java Object array (Object[]). |
| protected Object | mapObject(JsonParser p, DeserializationContext ctxt)
Method called to map a JSON Object into a Java value. |
| protected Object | |
| public void | resolve(DeserializationContext
Context to use for accessing configuration, resolving
secondary deserializers ctxt)Implements com. |
| public Boolean | supportsUpdate(DeserializationConfig config)
Overrides com. |