Package com.fasterxml.jackson.databind
Class KeyDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.KeyDeserializer
-
- Direct Known Subclasses:
DurationKeyDeserializer
,InstantKeyDeserializer
,KeyDeserializer.None
,LocalDateKeyDeserializer
,LocalDateTimeKeyDeserializer
,LocalTimeKeyDeserializer
,MonthDayKeyDeserializer
,OffsetDateTimeKeyDeserializer
,OffsetTimeKeyDeserializer
,PeriodKeyDeserializer
,StdKeyDeserializer
,YearKeyDeserializer
,YearMonthKeyDeserializer
,ZonedDateTimeKeyDeserializer
,ZoneIdKeyDeserializer
,ZoneOffsetKeyDeserializer
public abstract class KeyDeserializer extends java.lang.Object
Abstract class that defines API used for deserializing JSON content field names into Java Map keys. These deserializers are only used if the Map key class is notString
orObject
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyDeserializer.None
This marker class is only to be used with annotations, to indicate that no deserializer is configured.
-
Constructor Summary
Constructors Constructor Description KeyDeserializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.Object
deserializeKey(java.lang.String key, DeserializationContext ctxt)
Method called to deserialize aMap
key from JSON property name.
-
-
-
Method Detail
-
deserializeKey
public abstract java.lang.Object deserializeKey(java.lang.String key, DeserializationContext ctxt) throws java.io.IOException
Method called to deserialize aMap
key from JSON property name.- Throws:
java.io.IOException
-
-