-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Jackson-3 Support @JsonInclude in Collection
#5370
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
base: 3.x
Are you sure you want to change the base?
Conversation
|
Lemme know if there's anything I can improve on |
|
@JooHyukKim Sorry, been swamped with introspection bug fixes; this is still on my todo list to review soon. :) |
|
Ok, so added a note on issue: I think we have to add a feature (probably |
|
Added |
| import static org.junit.jupiter.api.Assertions.assertEquals; | ||
|
|
||
| // [databind#5369] Support `@JsonInclude` for collection | ||
| public class JsonIncludeForCollection5369Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start, but will also need to cover more of types:
Object[]String[]
to exercise ObjectArraySerializer and StringArraySerializer respectively.
And maybe non-String List (like List<Integer> or such)?
|
Looks good overall; needs bit more test coverage. But also looks like some deprecated methods/constructors are being called (as per IDE warnings), probably need to change to either:
Anyway I hope to do proper review soon: but I like how PR is getting ready! |
resolves #5369