Skip to content

JsonSetter.contentNulls ignored for Object[], String[] and Collection<String> #5202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

k163377
Copy link
Contributor

@k163377 k163377 commented Jun 21, 2025

SSIA

This is a continuation of #5191.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As confirmed by the following comment, the EnumSetDeserializer has not been modified.
#5165 (comment)

Also, implemented according to the following comment.
#5174 (comment)

}

@Test
public void nullsFailTest() {
Copy link
Member

Choose a reason for hiding this comment

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

Same as with Object[], no nulls exists in test JSON; test does not trigger handling at all.

@cowtowncoder cowtowncoder changed the title Fix #5165 on ObjectArrayDeserializer, StringArrayDeserializer and StringArrayDeserializer JsonSetter.contentNulls ignored for Object[], String[] and Collection<String> Jul 9, 2025
Copy link
Member

@cowtowncoder cowtowncoder left a comment

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 1464997 into FasterXML:2.19 Jul 9, 2025
6 checks passed
@k163377
Copy link
Contributor Author

k163377 commented Jul 10, 2025

Thanks for the review!

@cowtowncoder
Copy link
Member

@k163377 Thank you for the PR, as always! :)

@k163377 k163377 deleted the kotlin976-followup-for-collection-like branch July 12, 2025 04:07
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