public class NullEnumDeserializer<T>
extends com.fasterxml.jackson.databind.JsonDeserializer<T>
| Constructor and Description |
|---|
NullEnumDeserializer(Class<T> enumCls,
Class<?> valueCls,
T nullValue) |
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
T |
getNullValue(com.fasterxml.jackson.databind.DeserializationContext ctxt) |
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializerpublic T deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JacksonException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>IOExceptioncom.fasterxml.jackson.core.JacksonExceptionpublic T getNullValue(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException
getNullValue in interface com.fasterxml.jackson.databind.deser.NullValueProvidergetNullValue in class com.fasterxml.jackson.databind.JsonDeserializer<T>com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2023. All rights reserved.