0
Q:

jackson ignore null

public class MyDto {     
	@JsonInclude(Include.NON_NULL)
  	private String stringValue;
  
  	private int intValue;     // standard getters and setters
}
1
public class Object {
  
    @JsonInclude(NON_NULL)
    @JsonProperty("property")
    private String property;
  
}
2

New to Communities?

Join the community