Skip to content

Commit 9c1feff

Browse files
committed
1 parent 9b91c1c commit 9c1feff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/databind/deser/std/UntypedObjectDeserializer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ protected Object _mapObjectWithDups(JsonParser p, DeserializationContext ctxt,
985985
newValue = deserialize(p, ctxt);
986986
oldValue = result.put(nextKey, newValue);
987987
if ((oldValue != null) && squashDups) {
988-
_squashDups(result, key, oldValue, newValue);
988+
_squashDups(result, nextKey, oldValue, newValue);
989989
}
990990
nextKey = p.nextFieldName();
991991
}

0 commit comments

Comments
 (0)