Answers for "jackson objectmapper exclude null"

2

jackson ignore null

public class MyDto {     
	@JsonInclude(Include.NON_NULL)
  	private String stringValue;
  
  	private int intValue;     // standard getters and setters
}
Posted by: Guest on October-28-2020

Code answers related to "jackson objectmapper exclude null"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language