Skip to content

Commit 754be7c

Browse files
committed
Update release notes wrt #3533
1 parent 0d16604 commit 754be7c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

release-notes/VERSION-2.x

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Project: jackson-databind
5151
from parser nor use real defaults
5252
#3530: Change LRUMap to just evict one entry when maxEntries reached
5353
(contributed by @pjfanning)
54+
#3533: Deserialize missing value of `EXTERNAL_PROPERTY` type using
55+
custom `NullValueProvider`
5456
#3535: Replace `JsonNode.with()` with `JsonNode.withObject()`
5557
#3559: Support `null`-valued `Map` fields with "any setter"
5658

src/main/java/com/fasterxml/jackson/databind/deser/impl/ExternalTypeHandler.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ public Object complete(JsonParser p, DeserializationContext ctxt,
297297
"Missing property '%s' for external type id '%s'",
298298
prop.getName(), _properties[i].getTypePropertyName());
299299
}
300-
300+
// 03-Aug-2022, tatu: [databind#3533] to handle absent value matching
301+
// present type id
301302
values[i] = _deserializeMissingToken(p, ctxt, i, typeId);
302303
}
303304

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

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

0 commit comments

Comments
 (0)