-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support @JsonAnySetter on method with single Map parameter #4889
Comments
Hi, is it still available ? I'd like to tackle it as part of a software engineering course, we'll be multiple people working on it but I'll serve as intermediary not to burden you with that. |
@JooHyukKim What do you think about this wrt feasibility/need? You have been working most on any-getter/any-setter support. @alixpeigue Yes, should be free: if someone was working on it, they'd be expected to add a note here. |
@cowtowncoder @alixpeigue |
@JooHyukKim I think use of |
Yeah, we can see it that way makes sense. '''Java |
Discussed in #4888
Originally posted by chrylis January 7, 2025
Currently,
@JsonAnySetter
can be used on a physical field of typeMap
, but unlike@JsonProperty
, it will be silently dropped if used on a method of arity other than two (POJOPropertiesCollector#_addMethods
). I would like to be able to use@JsonAnySetter
on a method representing a virtual property, like this:The text was updated successfully, but these errors were encountered: