Class UUIDDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<UUID>
com.fasterxml.jackson.databind.deser.std.StdDeserializer<UUID>
com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<UUID>
com.fasterxml.jackson.databind.deser.std.FromStringDeserializer<UUID>
com.fasterxml.jackson.databind.deser.std.UUIDDeserializer
- All Implemented Interfaces:
NullValueProvider,ValueInstantiator.Gettable,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.std.FromStringDeserializer
FromStringDeserializer.StdNested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
JsonDeserializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod called to determine value to be used for "empty" values (most commonly when deserializing from empty JSON Strings).Methods inherited from class com.fasterxml.jackson.databind.deser.std.FromStringDeserializer
deserialize, findDeserializer, logicalType, typesMethods inherited from class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer
deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdateMethods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
getValueClass, getValueInstantiator, getValueType, getValueType, handledTypeMethods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
-
Constructor Details
-
UUIDDeserializer
public UUIDDeserializer()
-
-
Method Details
-
getEmptyValue
Description copied from class:JsonDeserializerMethod called to determine value to be used for "empty" values (most commonly when deserializing from empty JSON Strings). Usually this is same asJsonDeserializer.getNullValue(com.fasterxml.jackson.databind.DeserializationContext)(which in turn is usually simply Java null), but it can be overridden for specific types. Or, if type should never be converted from empty String, method can also throw an exception.This method may be called once, or multiple times, depending on what
JsonDeserializer.getEmptyAccessPattern()returns.Default implementation simply calls
JsonDeserializer.getNullValue(com.fasterxml.jackson.databind.DeserializationContext)and returns value.- Overrides:
getEmptyValuein classJsonDeserializer<UUID>
-