In the Spring Boot 1.2.3, we can customize the Jackson ObjectMapper via properties file. But I didn\'t find a attribute can set Jackson ignore null value when serialization
Class-wide,
@JsonInclude(JsonInclude.Include.NON_NULL) public class MyModel { .... }
Property-wide:
public class MyModel { ..... @JsonInclude(JsonInclude.Include.NON_NULL) private String myProperty; ..... }