Package org.codehaus.jackson.map
Class KeyDeserializer
java.lang.Object
org.codehaus.jackson.map.KeyDeserializer
- Direct Known Subclasses:
KeyDeserializer.None
,StdKeyDeserializer
Abstract class that defines API used for deserializing JSON content
field names into Java Map keys. These deserializers are only used
if the Map key class is not
String
or Object
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This marker class is only to be used with annotations, to indicate that no deserializer is configured. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Object
deserializeKey
(String key, DeserializationContext ctxt) Method called to deserialize aMap
key from JSON property name.
-
Constructor Details
-
KeyDeserializer
public KeyDeserializer()
-
-
Method Details
-
deserializeKey
public abstract Object deserializeKey(String key, DeserializationContext ctxt) throws IOException, JsonProcessingException Method called to deserialize aMap
key from JSON property name.- Throws:
IOException
JsonProcessingException
-