Class BooleanKeyDeserializer
java.lang.Object
org.dominokit.jacksonapt.deser.map.key.KeyDeserializer<java.lang.Boolean>
org.dominokit.jacksonapt.deser.map.key.BooleanKeyDeserializer
public final class BooleanKeyDeserializer extends KeyDeserializer<java.lang.Boolean>
Default
KeyDeserializer implementation for Boolean.- Version:
- $Id: $
- Author:
- Nicolas Morel
-
Method Summary
Modifier and Type Method Description protected java.lang.BooleandoDeserialize(java.lang.String key, JsonDeserializationContext ctx)Deserializes a non-null key into an object.static BooleanKeyDeserializergetInstance()getInstanceMethods inherited from class org.dominokit.jacksonapt.deser.map.key.KeyDeserializer
deserializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getInstance
getInstance
- Returns:
- an instance of
BooleanKeyDeserializer
-
doDeserialize
Deserializes a non-null key into an object.- Specified by:
doDeserializein classKeyDeserializer<java.lang.Boolean>- Parameters:
key- key to deserializectx- Context for the full deserialization process- Returns:
- the deserialized object
-