1、添加类注解
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE)
2、添加属性注解,或者在某属性的get方法上添加
@JsonProperty("OrderCode")
private String orderCode;
1、添加类注解
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE)
2、添加属性注解,或者在某属性的get方法上添加
@JsonProperty("OrderCode")
private String orderCode;