Class YearMonthKeyDeserializer
java.lang.Object
com.fasterxml.jackson.databind.KeyDeserializer
com.fasterxml.jackson.datatype.jsr310.deser.key.YearMonthKeyDeserializer
- Direct Known Subclasses:
YearMothKeyDeserializer
public class YearMonthKeyDeserializer
extends com.fasterxml.jackson.databind.KeyDeserializer
- Since:
- 2.10 (had a typo previously)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.KeyDeserializer
com.fasterxml.jackson.databind.KeyDeserializer.None
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> T
_handleDateTimeException
(com.fasterxml.jackson.databind.DeserializationContext ctxt, Class<?> type, DateTimeException e0, String value) protected YearMonth
deserialize
(String key, com.fasterxml.jackson.databind.DeserializationContext ctxt) final Object
deserializeKey
(String key, com.fasterxml.jackson.databind.DeserializationContext ctxt)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
YearMonthKeyDeserializer
protected YearMonthKeyDeserializer()
-
-
Method Details
-
deserialize
protected YearMonth deserialize(String key, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException - Throws:
IOException
-
deserializeKey
public final Object deserializeKey(String key, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException - Specified by:
deserializeKey
in classcom.fasterxml.jackson.databind.KeyDeserializer
- Throws:
IOException
-
_handleDateTimeException
protected <T> T _handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext ctxt, Class<?> type, DateTimeException e0, String value) throws IOException - Throws:
IOException
-