我试图覆盖序列化期间在 @JsonProperty 中指定的属性名称,但在结果json中同时获取旧的和新的命名属性。 实体: class Bean { @JsonProperty("p") String prop; ...
確定! 回上一頁