Package org.codehaus.jackson.map.deser
Class SettableBeanProperty.NullProvider
- java.lang.Object
-
- org.codehaus.jackson.map.deser.SettableBeanProperty.NullProvider
-
- Enclosing class:
- SettableBeanProperty
protected static final class SettableBeanProperty.NullProvider extends Object
To support [JACKSON-420] we need bit more indirection; this is used to produce artificial failure for primitives that don't accept JSON null as value.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NullProvider(JavaType type, Object nullValue)
-
-
-
Method Detail
-
nullValue
public Object nullValue(DeserializationContext ctxt) throws JsonProcessingException
- Throws:
JsonProcessingException
-
-