1 package com.fasterxml.jackson.databind.deser;
2
3 import com.fasterxml.jackson.databind.*;
4
5 /**
6 * Interface that defines API for simple extensions that can provide additional deserializers
7 * for deserializer Map keys of various types, from JSON property names.
8 * Access is by a single callback method; instance is to either return
9 * a configured {@link KeyDeserializer} for specified type, or null to indicate that it
10 * does not support handling of the type. In latter case, further calls can be made
11 * for other providers; in former case returned key deserializer is used for handling of
12 * key instances of specified type.
13 */
14 public interface KeyDeserializers
15 {
16 public KeyDeserializer findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) throws JsonMappingException;
17 }
18