1
对象嵌套一个list
对象嵌套一个list
提供下复现代码。
public class FlowRepayTrailResult extends FlowBaseResult {
private Integer status;
private String desc;
private BigDecimal dueTotalAmount;
private List<FlowRepayPlanItem> repayDetails;
}
@Data public class FlowRepayPlanItem {
private BigDecimal dueAmount;
private BigDecimal duePrincipal;
private BigDecimal dueInterest;
private BigDecimal dueGuaranteeFee;
private String actDateTime;
}
就是这样格式的实体类没解析出来
大约json格式 { "a": 1, "b": 2, "c": [{ "a": 1, "b": 2 }, { "a": 1, "b": 2 }] }