@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) public @interface JsonSetter
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.
NOTE: this annotation was briefly deprecated for version 1.5; but has since been un-deprecated to both allow for asymmetric naming (possibly different name when reading and writing JSON), and more importantly to allow multi-argument setter method in future.
public abstract String value
Copyright © 2012-2014 FasterXML. All Rights Reserved.