Skip to content

Commit

Permalink
Update release notes wrt #3533
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Aug 3, 2022
1 parent 0d16604 commit 754be7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Project: jackson-databind
from parser nor use real defaults
#3530: Change LRUMap to just evict one entry when maxEntries reached
(contributed by @pjfanning)
#3533: Deserialize missing value of `EXTERNAL_PROPERTY` type using
custom `NullValueProvider`
#3535: Replace `JsonNode.with()` with `JsonNode.withObject()`
#3559: Support `null`-valued `Map` fields with "any setter"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ public Object complete(JsonParser p, DeserializationContext ctxt,
"Missing property '%s' for external type id '%s'",
prop.getName(), _properties[i].getTypePropertyName());
}

// 03-Aug-2022, tatu: [databind#3533] to handle absent value matching
// present type id
values[i] = _deserializeMissingToken(p, ctxt, i, typeId);
}

Expand Down Expand Up @@ -358,6 +359,7 @@ protected final Object _deserialize(JsonParser p, DeserializationContext ctxt,
return _properties[index].getProperty().deserialize(mp, ctxt);
}

// 03-Aug-2022, tatu: [databind#3533] to handle absent value matching:
@SuppressWarnings("resource")
protected final Object _deserializeMissingToken(JsonParser p, DeserializationContext ctxt,
int index, String typeId) throws IOException
Expand Down

0 comments on commit 754be7c

Please sign in to comment.