Class StdKeyDeserializer
java.lang.Object
org.codehaus.jackson.map.KeyDeserializer
org.codehaus.jackson.map.deser.std.StdKeyDeserializer
- Direct Known Subclasses:
StdKeyDeserializer
Base class for simple key deserializers.
- Since:
- 1.9 (moved from 'org.codehaus.jackson.map.deser.StdKeyDeserializer')
-
Nested Class Summary
Nested classes/interfaces inherited from class KeyDeserializer
KeyDeserializer.None -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Object_parse(String key, DeserializationContext ctxt) protected double_parseDouble(String key) protected intprotected long_parseLong(String key) final ObjectdeserializeKey(String key, DeserializationContext ctxt) Method called to deserialize aMapkey from JSON property name.Class<?>
-
Field Details
-
_keyClass
-
-
Constructor Details
-
StdKeyDeserializer
-
-
Method Details
-
deserializeKey
public final Object deserializeKey(String key, DeserializationContext ctxt) throws IOException, JsonProcessingException Description copied from class:KeyDeserializerMethod called to deserialize aMapkey from JSON property name.- Specified by:
deserializeKeyin classKeyDeserializer- Throws:
IOExceptionJsonProcessingException
-
getKeyClass
-
_parse
- Throws:
Exception
-
_parseInt
- Throws:
IllegalArgumentException
-
_parseLong
- Throws:
IllegalArgumentException
-
_parseDouble
- Throws:
IllegalArgumentException
-