| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | GuavaImmutableCollectionDeserializer(JavaType selfType, JsonDeserializer<?> deser, TypeDeserializer typeDeser, NullValueProvider nuller, Boolean unwrapSingle)
|
| Modifier and Type | Method and Description |
|---|---|
| protected T | |
| protected Object | |
| protected void | _tryToAddNull(JsonParser p, DeserializationContext ctxt, ImmutableCollection.
Some/many Guava containers do not allow addition of |
| protected abstract ImmutableCollection. | |
| public AccessPattern | getEmptyAccessPattern()
Implements abstract com. This method may be called in conjunction with calls to
|
| public T | getEmptyValue(DeserializationContext ctxt)
Implements abstract com. Method called to determine value to be used for "empty" values (most commonly when deserializing from empty JSON Strings). |
| 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. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| GuavaImmutableCollectionDeserializer | back to summary |
|---|---|
| pack-priv GuavaImmutableCollectionDeserializer(JavaType selfType, JsonDeserializer<?> deser, TypeDeserializer typeDeser, NullValueProvider nuller, Boolean unwrapSingle) | |
| _deserializeContents | back to summary |
|---|---|
| protected T _deserializeContents(JsonParser p, DeserializationContext ctxt) throws IOException Implements abstract com.
| |
| _resolveNullToValue | back to summary |
|---|---|
protected Object _resolveNullToValue(DeserializationContext ctxt) throws IOException
| |
| _tryToAddNull | back to summary |
|---|---|
| protected void _tryToAddNull(JsonParser p, DeserializationContext ctxt, ImmutableCollection. Some/many Guava containers do not allow addition of
| |
| createBuilder | back to summary |
|---|---|
| protected abstract ImmutableCollection. | |
| getEmptyAccessPattern | back to summary |
|---|---|
| public AccessPattern getEmptyAccessPattern() Implements abstract com. Doc from com. This method may be called in conjunction with calls to
| |
| getEmptyValue | back to summary |
|---|---|
| public T getEmptyValue(DeserializationContext ctxt) Implements abstract com. Doc from com. Method called to determine value to be used for "empty" values
(most commonly when deserializing from empty JSON Strings).
Usually this is same as
This method may be called once, or multiple times, depending on what
Default implementation simply calls
| |
| supportsUpdate | back to summary |
|---|---|
| public Boolean supportsUpdate(DeserializationConfig config) Overrides com. Doc from com. Introspection method that may be called to see whether deserializer supports
update of an existing value (aka "merging") or not. Return value should either
be
Information gathered is typically used to either prevent merging update for
property (either by skipping, if based on global defaults; or by exception during
deserializer construction if explicit attempt made) if
Default implementation returns
| |