public abstract class StdKeyDeserializer extends KeyDeserializer
KeyDeserializer.None| Modifier | Constructor and Description |
|---|---|
protected |
StdKeyDeserializer(Class<?> cls) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
_parse(String key,
DeserializationContext ctxt) |
protected double |
_parseDouble(String key) |
protected int |
_parseInt(String key) |
protected long |
_parseLong(String key) |
Object |
deserializeKey(String key,
DeserializationContext ctxt)
Method called to deserialize a
Map key from JSON property name. |
Class<?> |
getKeyClass() |
protected final Class<?> _keyClass
protected StdKeyDeserializer(Class<?> cls)
public final Object deserializeKey(String key, DeserializationContext ctxt) throws IOException, JsonProcessingException
KeyDeserializerMap key from JSON property name.deserializeKey in class KeyDeserializerIOExceptionJsonProcessingExceptionpublic Class<?> getKeyClass()
protected abstract Object _parse(String key, DeserializationContext ctxt) throws Exception
Exceptionprotected int _parseInt(String key) throws IllegalArgumentException
IllegalArgumentExceptionprotected long _parseLong(String key) throws IllegalArgumentException
IllegalArgumentExceptionprotected double _parseDouble(String key) throws IllegalArgumentException
IllegalArgumentException