Skip to content
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

Allow use of @JsonAnySetter on a Map-valued field, no need for setter #1047

Closed
cowtowncoder opened this issue Dec 15, 2015 · 1 comment
Closed
Milestone

Comments

@cowtowncoder
Copy link
Member

It would seem useful to allow use of @JsonAnySetter on fields with proper value; Map at least should be supported; optionally also ObjectNode but that's just icing on cake.

@cowtowncoder
Copy link
Member Author

Hmmh. Just realized that the implementation has a flaw in that access to @JsonAnySetter does not go via AnnotationIntrospector, like all Annotation access ought to. Will fix for 2.9, related to also making it possible to disable any-setter mutator.

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

No branches or pull requests

1 participant