SettableBeanProperty.NullProvider (Jackson JSON Processor)
Date: 2013-07-14

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 and Description
    --- | ---
    `protected` | `SettableBeanProperty.NullProvider(JavaType type, Object nullValue)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `nullValue(DeserializationContext ctxt)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SettableBeanProperty.NullProvider

          protected SettableBeanProperty.NullProvider(JavaType type,
                                           Object nullValue)

  - ### Method Detail

    - #### nullValue

          public Object nullValue(DeserializationContext ctxt)
                           throws JsonProcessingException

      Throws:
        `JsonProcessingException`