JsonGetter (Jackson JSON Processor)
Date: 2013-07-14

org.codehaus.jackson.annotate

## Annotation Type JsonGetter

- Deprecated.
  Use `JsonProperty` instead (deprecated since version 1.5)

      @Target(value=METHOD)
      @Retention(value=RUNTIME)
      @Deprecated
      public @interface JsonGetter

  Marker annotation that can be used to define a non-static, no-argument value-returning (non-void) method to be used as a "getter" for a logical property, as an alternative to recommended `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.

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `value` Deprecated. 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)

- - ### Element Detail

    - #### value

          public abstract String value

      Deprecated.
      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)
      Default:
        ""