| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value={ANNOTATION_TYPE,FIELD,METHOD,PARAMETER})
@Retention(value=RUNTIME)
public @interface JsonPropertyMarker annotation that can be used to define a non-static method as a "setter" or "getter" for a logical property (depending on its signature), or non-static object field to be used (serialized, deserialized) as a logical property.
Default value ("") indicates that the field name is used as the property name without any modifications, but it can be specified to non-empty value to specify different name. Property name refers to name used externally, as the field name in JSON objects.
| Optional Element Summary | |
|---|---|
|  boolean | requiredProperty that indicates whether a value (which may be explicit null) is expected for property during deserialization or not. | 
|  String | valueDefines name of the logical property, i.e. | 
public abstract String value
public abstract boolean required
BeanDeserialized should indicate
 this as a validity problem (usually by throwing an exception,
 but this may be sent via problem handlers that can try to
 rectify the problem, for example, by supplying a default
 value).
 Note that as of 2.0, this property is NOT used by
 BeanDeserializer: support is expected to be
 added for a later minor version.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||