📜  jackson annotations 序列化日期 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:47.758000             🧑  作者: Mango

代码示例1
public class CalendarEntry {

    @JsonSerialize(using = CustomCalendarSerializer.class)
    @JsonDeserialize(using = CustomCalendarDeserializer.class)
    private Calendar calendar;

    // ... additional things ...
}