Class NoNullCollectionsBeanDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdDeserializer<Object>
-
- com.fasterxml.jackson.databind.deser.BeanDeserializerBase
-
- com.fasterxml.jackson.databind.deser.BeanDeserializer
-
- com.blackberry.workspaces.sdk.api.connectors.common.jackson.NoNullCollectionsBeanDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.ContextualDeserializer
,com.fasterxml.jackson.databind.deser.NullValueProvider
,com.fasterxml.jackson.databind.deser.ResolvableDeserializer
,com.fasterxml.jackson.databind.deser.ValueInstantiator.Gettable
,Serializable
public class NoNullCollectionsBeanDeserializer extends com.fasterxml.jackson.databind.deser.BeanDeserializer
A BeanDeserializer subtype that initializes collections,maps and arrays with default values if they are null in the json pojo. User: shalom Date: 11/6/11 3:25 PM- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoNullCollectionsBeanDeserializer(com.fasterxml.jackson.databind.deser.BeanDeserializerBase src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
deserializeFromObject(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
-
Methods inherited from class com.fasterxml.jackson.databind.deser.BeanDeserializer
deserialize, deserialize, unwrappingDeserializer, withBeanProperties, withIgnorableProperties, withIgnoreAllUnknown, withObjectIdReader
-
Methods inherited from class com.fasterxml.jackson.databind.deser.BeanDeserializerBase
createContextual, creatorProperties, deserializeFromArray, deserializeFromBoolean, deserializeFromDouble, deserializeFromEmbedded, deserializeFromNumber, deserializeFromString, deserializeWithType, findBackReference, findProperty, findProperty, findProperty, getBeanClass, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getObjectIdReader, getPropertyCount, getValueInstantiator, getValueType, handledType, hasProperty, hasViews, isCachable, properties, replaceProperty, resolve, supportsUpdate, wrapAndThrow
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
getValueClass, getValueType
-
-
-
-
Method Detail
-
deserializeFromObject
public Object deserializeFromObject(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Overrides:
deserializeFromObject
in classcom.fasterxml.jackson.databind.deser.BeanDeserializer
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-
-