-
- All Implemented Interfaces:
-
com.fasterxml.jackson.databind.deser.ContextualDeserializer
,com.fasterxml.jackson.databind.deser.NullValueProvider
public final class OptionalInputDeserializer extends JsonDeserializer<OptionalInput<?>> implements ContextualDeserializer
Null aware deserializer that distinguishes between undefined value, explicit NULL value and specified value.
-
-
Constructor Summary
Constructors Constructor Description OptionalInputDeserializer(Class<?> klazz)
-
Method Summary
Modifier and Type Method Description JsonDeserializer<?>
createContextual(DeserializationContext ctxt, BeanProperty property)
OptionalInput<?>
deserialize(JsonParser p, DeserializationContext ctxt)
AccessPattern
getNullAccessPattern()
OptionalInput<?>
getNullValue(DeserializationContext ctxt)
-
Methods inherited from class com.expediagroup.graphql.generator.execution.OptionalInputDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
OptionalInputDeserializer
OptionalInputDeserializer(Class<?> klazz)
-
-
Method Detail
-
createContextual
JsonDeserializer<?> createContextual(DeserializationContext ctxt, BeanProperty property)
-
deserialize
OptionalInput<?> deserialize(JsonParser p, DeserializationContext ctxt)
-
getNullAccessPattern
AccessPattern getNullAccessPattern()
-
getNullValue
OptionalInput<?> getNullValue(DeserializationContext ctxt)
-
-
-
-