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
This was an enhancement for Spring Boot 1.3.0.
So unfortunately you'll need to configure it programmatically on 1.2.3
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL) public class Shop { //... }