title: JsonIgnoreProperties not working
body: <p>I have the following simple class:</p>
  
  <pre><code>import org.codehaus.jackson.annotate.JsonIgnoreProperties;
  @JsonIgnoreProperties({ "thirdField" })
  public class Message {
  
      private TypeA type;
      private String producer;
  
  //Getters and Setters
  
  }
  </code></pre>
  
  <p>in my test class </p>
  
  <pre><code>import com.fasterxml.jackson.databind.MapperFeature;
  import com.fasterxml.jackson.databind.ObjectMapper;
  
  public class Test {
     public void testMethd() {
     ObjectMapper objectMapper = new ObjectMapper();
     objectMapper.configure(MapperFeature.USE_ANNOTATIONS, true);
     Class&lt;T&gt; instanceType = Message.class;
  
     String msgBody = "{\"producer\": \"clientApp\", \"type\": \"aType\", \"thirdField\": []}";
     objectMapper.readValue(msgBody, instanceType);
     }
  }
  </code></pre>
  
  <p>All I am trying to do is to convert the above json string into Message class and ignore the 'thirdField'. But I keep getting</p>
  
  <pre><code>com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "thirdField" (class Message), not marked as ignorable (2 known properties: , "type", "producer"])
  </code></pre>