title: Spring Boot 1.4 Customize Internal Jackson Deserialization
body: <p>I am using <code>spring.jackson.deserialization.FAIL_ON_UNKNOWN_PROPERTIES=true</code> in the <code>application.properties</code> to make deserialization fail on unknown properties but its not working.</p>
  
  <p>I even tried using :</p>
  
  <pre><code>@Bean
  ObjectMapper objectMapper() {
    return Jackson2ObjectMapperBuilder
          .json()
          .featuresToEnable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
          .build();
  }
  </code></pre>
  
  <p>But this also didn't work. What am I missing?</p>