Class SimpleKeyDeserializers
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.module.SimpleKeyDeserializers
- All Implemented Interfaces:
KeyDeserializers
,Serializable
Simple implementation
KeyDeserializers
which allows registration of
deserializers based on raw (type erased class).
It can work well for basic bean and scalar type deserializers, but is not
a good fit for handling generic types (like Map
s and Collection
s
or array types).
Unlike SimpleSerializers
, this class does not currently support generic mappings;
all mappings must be to exact declared deserialization type.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddDeserializer
(Class<?> forClass, KeyDeserializer deser) findKeyDeserializer
(JavaType type, DeserializationConfig config, BeanDescription beanDesc)
-
Field Details
-
_classMappings
-
-
Constructor Details
-
SimpleKeyDeserializers
public SimpleKeyDeserializers()
-
-
Method Details
-
addDeserializer
-
findKeyDeserializer
public KeyDeserializer findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) - Specified by:
findKeyDeserializer
in interfaceKeyDeserializers
-