title: Spring boot jackson non_null property not working
body: <p>I am using Spring boot <strong>1.5.7-RELEASE</strong>.</p>
  
  <p>I am trying to set <strong>global non null</strong> Jackson property in my application.</p>
  
  <p>but it is not working.</p>
  
  <p>I have tried both in application.properties and bootstrap.properties but not working.</p>
  
  <pre><code>spring.jackson.default-property-inclusion=NON_NULL
  spring.jackson.serialization-inclusion=NON_NULL
  </code></pre>
  
  <p>but when I applied on class level, it is working fine.</p>
  
  <pre><code>@JsonInclude(JsonInclude.NON_NULL)
  </code></pre>