You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JonathanO edited this page Oct 14, 2012
·
3 revisions
JsonAnySetter
Method annotation to handle unknown properties when deserializing. The AnySetter method is expected to store the unknowns when deserializing. Having an AnySetter will prevent warnings being lobbed for unknown properties, instead they'll be passed to your AnySetter.
A method annotated with @JsonAnySetter must take exactly two parameters, the key and the value to store.