Class YearMonthKeyDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.KeyDeserializer
-
- com.fasterxml.jackson.datatype.threetenbp.deser.key.YearMonthKeyDeserializer
-
- Direct Known Subclasses:
YearMothKeyDeserializer
public class YearMonthKeyDeserializer extends com.fasterxml.jackson.databind.KeyDeserializer- Since:
- 2.10 (had a typo previously)
-
-
Field Summary
Fields Modifier and Type Field Description static YearMonthKeyDeserializerINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protectedYearMonthKeyDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> T_handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext ctxt, Class<?> type, org.threeten.bp.DateTimeException e0, String value)protected org.threeten.bp.YearMonthdeserialize(String key, com.fasterxml.jackson.databind.DeserializationContext ctxt)ObjectdeserializeKey(String key, com.fasterxml.jackson.databind.DeserializationContext ctxt)
-
-
-
Field Detail
-
INSTANCE
public static final YearMonthKeyDeserializer INSTANCE
-
-
Method Detail
-
deserialize
protected org.threeten.bp.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:
deserializeKeyin classcom.fasterxml.jackson.databind.KeyDeserializer- Throws:
IOException
-
_handleDateTimeException
protected <T> T _handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext ctxt, Class<?> type, org.threeten.bp.DateTimeException e0, String value) throws IOException- Throws:
IOException
-
-