| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | PrimitiveArrayDeserializers.
When dealing with byte arrays we have one more alternative (compared to int/long/shorts): base64 encoded data. |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private transient Object | |
| protected final NullValueProvider | _nuller
Flag that indicates need for special handling; either failing (throw exception) or skipping |
| protected final Boolean | _unwrapSingle
Specific override for this instance (from proper, or global per-type overrides) to indicate whether single value may be taken to mean an unwrapped one-element array or not. |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | PrimitiveArrayDeserializers(PrimitiveArrayDeserializers<?> base, NullValueProvider nuller, Boolean unwrapSingle)
|
| Modifier and Type | Method and Description |
|---|---|
| protected abstract T | |
| protected abstract T | |
| protected 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. Method called to see if a different (or differently configured) deserializer is needed to deserialize values of specified property. |
| public T | deserialize(JsonParser p, DeserializationContext ctxt, T existing)
Overrides com. Alternate deserialization method (compared to the most commonly
used, |
| public Object | deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer
Deserializer to use for handling type information typeDeserializer)Overrides com. Base implementation that does not assume specific type inclusion mechanism. |
| public static JsonDeserializer | |
| public AccessPattern | getEmptyAccessPattern()
Overrides com. This method may be called in conjunction with calls to
|
| public Object | getEmptyValue(DeserializationContext ctxt)
Overrides com. Method called to determine value to be used for "empty" values (most commonly when deserializing from empty JSON Strings). |
| protected T | |
| protected abstract T | |
| public LogicalType | logicalType()
Overrides com. Method for accessing logical type of values this deserializer produces. |
| public Boolean | supportsUpdate(DeserializationConfig config)
Overrides com. Introspection method that may be called to see whether deserializer supports update of an existing value (aka "merging") or not. |
| protected abstract PrimitiveArrayDeserializers |