public class YearMonthKeyDeserializer extends KeyDeserializer
KeyDeserializer.None| Modifier and Type | Field and Description |
|---|---|
static YearMonthKeyDeserializer |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
YearMonthKeyDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
_handleDateTimeException(DeserializationContext ctxt,
Class<?> type,
DateTimeException e0,
String value) |
protected YearMonth |
deserialize(String key,
DeserializationContext ctxt) |
Object |
deserializeKey(String key,
DeserializationContext ctxt)
Method called to deserialize a
Map key from JSON property name. |
public static final YearMonthKeyDeserializer INSTANCE
protected YearMonth deserialize(String key, DeserializationContext ctxt) throws IOException
IOExceptionpublic final Object deserializeKey(String key, DeserializationContext ctxt) throws IOException
KeyDeserializerMap key from JSON property name.deserializeKey in class KeyDeserializerIOExceptionprotected <T> T _handleDateTimeException(DeserializationContext ctxt, Class<?> type, DateTimeException e0, String value) throws IOException
IOExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.