title: JSON parameter in spring MVC controller
body: <p>I have </p>
  
  <pre><code>@RequestMapping(method = RequestMethod.GET)
  @ResponseBody
  SessionInfo register(UserProfile profileJson){
    ...
  }
  </code></pre>
  
  <p>I pass profileJson this way:</p>
  
  <pre><code>http://server/url?profileJson={"email": "mymail@gmail.com"}
  </code></pre>
  
  <p>but my profileJson object has all null fields. What should I do to make spring parse my json?</p>