|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
JsonProperty
instead (deprecated since version 1.5)
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface JsonSetter
Marker annotation that can be used to define a non-static,
single-argument method to be used as a "setter" for a logical property
as an alternative to recommended
JsonProperty
annotation (which was introduced in version 1.1).
Setter means that when a property with matching name is encountered in JSON content, this method will be used to set value of the property.
Optional Element Summary | |
---|---|
String |
value
Deprecated. Optional default argument that defines logical property this method is used to modify ("set"). |
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |