title: Spring Boot Web- Set FAIL_ON_UNKNOWN_PROPERTIES to false in Jackson
body: <p>I have read Spring boot doc (<a href="http://projects.spring.io/spring-boot/docs/docs/howto.html#message.converters" rel="noreferrer">http://projects.spring.io/spring-boot/docs/docs/howto.html#message.converters</a> ) and its mentioned that if you provide your own JacksonConvertor, it will override the default one. But I guess its not working with the below code.</p>
  
  <p>What I want to do is to set DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES of the object mapper to false.</p>
  
  <pre><code>@EnableAutoConfiguration
  @ComponentScan("com.hjh")
  @Configuration
  public class App {
  
      @Bean
      @Primary
      public MappingJackson2HttpMessageConverter jacksonConvertor(){
          MappingJackson2HttpMessageConverter convertor= new MappingJackson2HttpMessageConverter();
          ObjectMapper mapper = new ObjectMapper();
          mapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
          convertor.setObjectMapper(mapper);
          return convertor;
      }
  
      public static void main(String[] args) throws Exception {
          ApplicationContext ctx =   SpringApplication.run(App.class, args);
  
      }
  </code></pre>
  
  <p><strong>Could any one please point out what am i doing wrong here? As it keeps on trying to bind the unknown prop from the request. If I remove the unknown prop, it all goes well</strong></p>