title: Posting dynamic JSON-Object to Spring RESTful Web Service
body: <p>I am trying to post dynamic JSON-Object like</p>
  
  <pre><code>{  
     "name":[  
        {  
           "key":"myKey1",
           "value":"myValue1"
        },
        {  
           "key":"myKey2",
           "value":myValue2
        },
        ....
     ]
  }
  </code></pre>
  
  <p>to Spring RESTful Web Service but I want to get JSON-Object as JSON-Object not as String my code is:</p>
  
  <pre><code>    @RequestMapping(path ="/hi", method = RequestMethod.POST, consumes = "application/json")     
  public Greeting hi(@RequestBody String jobject) {  
  return new Greeting (100,jobject); 
  }
  </code></pre>