Class NoNullCollectionsModule
- java.lang.Object
-
- com.fasterxml.jackson.databind.Module
-
- com.fasterxml.jackson.databind.module.SimpleModule
-
- com.blackberry.workspaces.api.sdk.connectors.common.jackson.NoNullCollectionsModule
-
- All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned
,Serializable
public class NoNullCollectionsModule extends com.fasterxml.jackson.databind.module.SimpleModule
This module adds functionality that null collections and arrays are initialized with empty defaults if they are not received or are null in the json input. User: shalom Date: 11/6/11 3:04 PM- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoNullCollectionsModule(String name, com.fasterxml.jackson.core.Version version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
-
Methods inherited from class com.fasterxml.jackson.databind.module.SimpleModule
addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setSerializerModifier, setSerializers, setValueInstantiators, version
-
-
-
-
Constructor Detail
-
NoNullCollectionsModule
public NoNullCollectionsModule(String name, com.fasterxml.jackson.core.Version version)
-
-