JsonAnyGetter (Jackson-annotations 2.7.0 API)
Date: 2016-01-09

com.fasterxml.jackson.annotation

## Annotation Type JsonAnyGetter

-     @Target(value={ANNOTATION_TYPE,METHOD})
      @Retention(value=RUNTIME)
      public @interface JsonAnyGetter

  Marker annotation that can be used to define a non-static, no-argument method or member field as something of a reverse of `JsonAnySetter` method; basically being used like a getter but such that contents of the returned Map (type must be `Map`) are serialized as if they were actual properties of the bean that contains method/field with this annotations. As with `JsonAnySetter`, only one property should be annotated with this annotation.

Copyright © 2008–2016 FasterXML. All rights reserved.