@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) public @interface JsonGetter
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.
public abstract String value
Copyright © 2008–2018 FasterXML. All rights reserved.