title: Spring MVC REST Json Conversion exception
body: <p>I am following a simple Spring MVC REST example. On PUT request, I am getting following exception:</p>
  
  <pre><code>org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Unrecognized field "property" (Class domain.Property), not marked as ignorable
      at [Source: org.apache.catalina.connector.CoyoteInputStream@75280b93; line: 1, column: 14] (through reference chain: domain.Property["property"]); 
  nested exception is org.codehaus.jackson.map.exc.UnrecognizedPropertyException:                               
      Unrecognized field "property" (Class domain.Property), not marked as ignorable
      at [Source: org.apache.catalina.connector.CoyoteInputStream@75280b93; line: 1, column: 14] (through reference chain: domain.Property["property"])
  </code></pre>
  
  <p>I am receiving following JSON</p>
  
  <pre><code>{"property":
      {
          "name":"name",
          "age":"22"
      }
  }
  </code></pre>
  
  <p>Following is my REST method:</p>
  
  <pre><code>@RequestMapping(method = RequestMethod.PUT, value = "/{id}")
  public ResponseEntity&lt;Property&gt; updateProperty(@RequestBody Property property,
                                                 @PathVariable String id) {   
    final ResponseEntity&lt;Property&gt; response = 
            new ResponseEntity&lt;Property&gt;(property, HttpStatus.OK);
    return response;
  }
  </code></pre>
  
  <p>The <code>Property</code> is standard POJO with getter/setter for name and age.</p>
  
  <p>How can I resolve this exception?</p>