|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) public @interface JsonAnySetter
Marker annotation that can be used to define a non-static,
two-argument method (first argument name of property, second value
to set), to be used as a "fallback" handler
for all otherwise unrecognized properties found from JSON content.
It is similar to bind.annotation.XmlAnyElement
in behavior; and can only be used to denote a single property
per type.
If used, all otherwise unmapped key-value pairs from JSON Object values are added to the property (of type Map or bean).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |