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 java.lang.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, java.lang.Object nullValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
nullValue(DeserializationContext ctxt)
-
-
-
Constructor Detail
-
NullProvider
protected NullProvider(JavaType type, java.lang.Object nullValue)
-
-
Method Detail
-
nullValue
public java.lang.Object nullValue(DeserializationContext ctxt) throws JsonProcessingException
- Throws:
JsonProcessingException
-
-