title: Jackson with JSON: Unrecognized field, not marked as ignorable
body: <p>I need to convert a certain JSON string to a Java object. I am using Jackson for JSON handling. I have no control over the input JSON (I read from a web service). This is my input JSON:</p>
  
  <pre><code>{"wrapper":[{"id":"13","name":"Fred"}]}
  </code></pre>
  
  <p>Here is a simplified use case:</p>
  
  <pre><code>private void tryReading() {
      String jsonStr = "{\"wrapper\"\:[{\"id\":\"13\",\"name\":\"Fred\"}]}";
      ObjectMapper mapper = new ObjectMapper();  
      Wrapper wrapper = null;
      try {
          wrapper = mapper.readValue(jsonStr , Wrapper.class);
      } catch (Exception e) {
          e.printStackTrace();
      }
      System.out.println("wrapper = " + wrapper);
  }
  </code></pre>
  
  <p>My entity class is:</p>
  
  <pre><code>public Class Student { 
      private String name;
      private String id;
      //getters &amp; setters for name &amp; id here
  }
  </code></pre>
  
  <p>My Wrapper class is basically a container object to get my list of students:</p>
  
  <pre><code>public Class Wrapper {
      private List&lt;Student&gt; students;
      //getters &amp; setters here
  }
  </code></pre>
  
  <p>I keep getting this error and "wrapper" returns <code>null</code>. I am not sure what's missing. Can someone help please?</p>
  
  <pre><code>org.codehaus.jackson.map.exc.UnrecognizedPropertyException: 
      Unrecognized field "wrapper" (Class Wrapper), not marked as ignorable
   at [Source: java.io.StringReader@1198891; line: 1, column: 13] 
      (through reference chain: Wrapper["wrapper"])
   at org.codehaus.jackson.map.exc.UnrecognizedPropertyException
      .from(UnrecognizedPropertyException.java:53)
  </code></pre>