File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/main/java/io/github/projectmapk/jackson/module/kogera/deser Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 11package io .github .projectmapk .jackson .module .kogera .deser ;
22
3+ import com .fasterxml .jackson .core .JacksonException ;
4+ import com .fasterxml .jackson .core .JsonParser ;
5+ import com .fasterxml .jackson .databind .DeserializationContext ;
36import com .fasterxml .jackson .databind .JavaType ;
47import com .fasterxml .jackson .databind .deser .std .StdDeserializer ;
58import io .github .projectmapk .jackson .module .kogera .deser .deserializers .WrapsNullableValueClassBoxDeserializer ;
811import org .jetbrains .annotations .NotNull ;
912import org .jetbrains .annotations .Nullable ;
1013
14+ import java .io .IOException ;
15+
1116/**
1217 * An interface to be inherited by JsonDeserializer that handles value classes that may wrap nullable.
1318 * @see WrapsNullableValueClassBoxDeserializer for implementation.
@@ -44,4 +49,8 @@ public final Class<D> handledType() {
4449 // It is defined so that null can also be returned so that Nulls.SKIP can be applied.
4550 @ Nullable
4651 public abstract D getBoxedNullValue ();
52+
53+ @ Override
54+ public abstract D deserialize (@ NotNull JsonParser p , @ NotNull DeserializationContext ctxt )
55+ throws IOException , JacksonException ;
4756}
You can’t perform that action at this time.
0 commit comments