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 Maps and Collections
or array types).
Unlike SimpleSerializers, this class does not currently support generic mappings;
all mappings must be to exact declared deserialization type.
| Modifier and Type | Field and Description |
|---|---|
| protected HashMap | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SimpleKeyDeserializers | |
| public KeyDeserializer | findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc)
Implements com. |
| _classMappings | back to summary |
|---|---|
| protected HashMap<ClassKey, KeyDeserializer> _classMappings | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SimpleKeyDeserializers | back to summary |
|---|---|
| public SimpleKeyDeserializers() | |
| addDeserializer | back to summary |
|---|---|
| public SimpleKeyDeserializers addDeserializer(Class<?> forClass, KeyDeserializer deser) | |
| findKeyDeserializer | back to summary |
|---|---|
| public KeyDeserializer findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) Implements com.
| |