title: convert json to object using jackson
body: <p>I have to convert a json into an object using jackson. The class is like:</p>
  
  <pre><code>class Country {  
      int a;  
      int b;  
  }  
  </code></pre>
  
  <p>And the json i am getting:</p>
  
  <pre><code>{"country":{"a":1,"b":1}}
  </code></pre>
  
  <p>But when i am trying to deserialize this its giving me following error </p>
  
  <pre><code>org.codehaus.jackson.map.JsonMappingException: Unrecognized field "country"    
  </code></pre>
  
  <p>If i remove "country", i am able to get the object.</p>
  
  <p>Is there any way i can tell jackson to just ignore "country" from the json string?</p>
  
  <p>Thanks in advance.</p>