Skip to content

Commit

Permalink
Merge pull request #32 from julianladisch/jackson-base-2.13.2.1-getAb…
Browse files Browse the repository at this point in the history
…sentValue

jackson-base 2.13.3, add getAbsentValue
  • Loading branch information
wing328 authored Jun 22, 2022
2 parents 7dcde50 + 752d9e0 commit 0923400
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-base</artifactId>
<version>2.12.2</version>
<version>2.13.3</version>
</parent>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public JsonNullableDeserializer withResolved(TypeDeserializer typeDeser, JsonDes
typeDeser, valueDeser);
}

@Override
public Object getAbsentValue(DeserializationContext ctxt) {
return JsonNullable.undefined();
}

@Override
public JsonNullable<Object> getNullValue(DeserializationContext ctxt) {
return JsonNullable.of(null);
Expand Down

0 comments on commit 0923400

Please sign in to comment.