JsonProperty
instead (deprecated since version 1.5)@Target(value=METHOD) @Retention(value=RUNTIME) @Deprecated public @interface JsonGetter
JsonProperty
annotation (which was introduced in version 1.1).
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.
public abstract String value