public abstract class StdKeyDeserializer extends KeyDeserializer
KeyDeserializer.None
限定符 | 构造器和说明 |
---|---|
protected |
StdKeyDeserializer(Class<?> cls) |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 KeyDeserializer
IOException
JsonProcessingException
public Class<?> getKeyClass()
protected abstract Object _parse(String key, DeserializationContext ctxt) throws Exception
Exception
protected int _parseInt(String key) throws IllegalArgumentException
protected long _parseLong(String key) throws IllegalArgumentException
protected double _parseDouble(String key) throws IllegalArgumentException