@JsonInclude(Include.NON_NULL)
class XXXXX{
........
}
设置dto中null字段自动过滤
class XXX{
@JsonProperty("XXX") dto转化json后字段自动命名XXX
扫描二维码关注公众号,回复:
387901 查看本文章
private String XXX
}
@JsonInclude(Include.NON_NULL)
class XXXXX{
........
}
设置dto中null字段自动过滤
class XXX{
@JsonProperty("XXX") dto转化json后字段自动命名XXX
private String XXX
}