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 org.codehaus.jackson.map.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 int
protected long
_parseLong
(String key) final Object
deserializeKey
(String key, DeserializationContext ctxt) Method called to deserialize aMap
key 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:KeyDeserializer
Method called to deserialize aMap
key from JSON property name.- Specified by:
deserializeKey
in classKeyDeserializer
- Throws:
IOException
JsonProcessingException
-
getKeyClass
-
_parse
- Throws:
Exception
-
_parseInt
- Throws:
IllegalArgumentException
-
_parseLong
- Throws:
IllegalArgumentException
-
_parseDouble
- Throws:
IllegalArgumentException
-