📅  最后修改于: 2022-03-11 14:55:56.479000             🧑  作者: Mango
//....getter, setter of Person class
@JsonIgnore
public List getEvents() {
return events;
}
@JsonProperty("events")
public Event[] getEventsArr() {
return events.toArray(new Event[0]);
}