NullValueProvider that will return "empty value"
specified by JsonDeserializer provider is constructed with.
| Modifier and Type | Field and Description |
|---|---|
| protected final JsonDeserializer | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AccessPattern | getNullAccessPattern()
Implements com. Accessor that may be used to determine if and when provider must be called to access null replacement value. |
| public Object | getNullValue(DeserializationContext ctxt)
Implements com. Method called to possibly convert incoming `null` token (read via underlying streaming input source) into other value of type accessor supports. |
| _deserializer | back to summary |
|---|---|
| protected final JsonDeserializer<?> _deserializer | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NullsAsEmptyProvider | back to summary |
|---|---|
| public NullsAsEmptyProvider(JsonDeserializer<?> deser) | |
| getNullAccessPattern | back to summary |
|---|---|
| public AccessPattern getNullAccessPattern() Implements com. Doc from com. Accessor that may be used to determine if and when provider must be called to access null replacement value.
| |
| getNullValue | back to summary |
|---|---|
| public Object getNullValue(DeserializationContext ctxt) throws JsonMappingException Implements com. Doc from com. Method called to possibly convert incoming `null` token (read via underlying streaming input source) into other value of type accessor supports. May return `null`, or value compatible with type binding. Note if
| |