@JsonAnyGetter
/**
标记注解用来定义一个非表态,无参,或成员变量作为something
of a reverse of {@link JsonAnySetter} method;basically
being used like a getter but such that contents of the
returned Map(type must be java.util.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。
*/
public @interface JsonAnyGetter{
}
如果在属性上定义了多个@JsonAnyGetter会报异常
Multiple 'any-getters' defined