Skip to content

Add missing @JsonIdentityInfo handling for implicit arrays with DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY - #5541

Merged
cowtowncoder merged 5 commits into
FasterXML:2.xfrom
MoritzR200:2.x
Jan 4, 2026
Merged

Add missing @JsonIdentityInfo handling for implicit arrays with DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY#5541
cowtowncoder merged 5 commits into
FasterXML:2.xfrom
MoritzR200:2.x

Conversation

@MoritzR200

@MoritzR200 MoritzR200 commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

This fixes the same issue as #5537 just for arrays in the ObjectArrayDeserializer.

I validated that this is still an issue in the branches 2.x and 3.x (the added test fails there without the fix).

…ializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY is enabled
@MoritzR200 MoritzR200 changed the title Added missing @JsonIdentityInfo handling for implicit arrays with DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY Added missing @JsonIdentityInfo handling for implicit arrays with DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY Jan 3, 2026
@cowtowncoder cowtowncoder changed the title Added missing @JsonIdentityInfo handling for implicit arrays with DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY Add missing @JsonIdentityInfo handling for implicit arrays with DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY Jan 4, 2026

@cowtowncoder cowtowncoder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cowtowncoder
cowtowncoder merged commit 9de2c29 into FasterXML:2.x Jan 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants