public abstract class StdKeyDeserializer extends KeyDeserializer implements Serializable
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
KeyDeserializer
Map
key from JSON property name.deserializeKey
in class KeyDeserializer
IOException
JsonProcessingException
public Class<?> getKeyClass()
protected abstract Object _parse(String key, DeserializationContext ctxt) throws Exception
Exception
protected int _parseInt(String key) throws IllegalArgumentException
IllegalArgumentException
protected long _parseLong(String key) throws IllegalArgumentException
IllegalArgumentException
protected double _parseDouble(String key) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2012-2013 FasterXML. All Rights Reserved.