package com.fasterxml.jackson.databind.module; import java.util.Collection; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.deser.KeyDeserializers; import com.fasterxml.jackson.databind.type.ClassKey; /** * Simple implementation {@link 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 {@link Map}s and {@link Collection}s * or array types). *
* Unlike {@link SimpleSerializers}, this class does not currently support generic mappings;
* all mappings must be to exact declared deserialization type.
*/
public class SimpleKeyDeserializers
implements KeyDeserializers, java.io.Serializable // since 2.1
{
private static final long serialVersionUID = 1L;
protected HashMap