JsonProperty annotation (which is the recommended choice in
general case).
Getter means that when serializing Object instance of class that has this method (possibly inherited from a super class), a call is made through the method, and return value will be serialized as value of the property.
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: Name of the logical property (or "" to use 'default', if available)Defines name of the logical property this method is used to access ("get"); empty String means that name should be derived from the underlying method (using standard Bean name detection rules) |
| value | back to summary |
|---|---|
| public String value() Defines name of the logical property this method is used to access ("get"); empty String means that name should be derived from the underlying method (using standard Bean name detection rules)
| |