Package org.codehaus.jackson.annotate
Annotation 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.- Since:
- 1.6