title: request.JSON empty in Grails
body: <p>I've got an Angular frontend sending a JSON update to my server but Grails won't see it in the controller. I just upgraded to Grails 2.5. 
  I have a controller method on my EpisodeController called '/addGuest':</p>
  
  <pre><code>def addGuest(Episode episode) {
      println "J: "+ request.JSON;
  }
  </code></pre>
  
  <p>and I'm sending the following from Angular</p>
  
  <pre><code>    service.addGuest = function(episode, guest) {
          return $http.put(getUrlForId(episode.id)+"/addGuest", {guest: guest});
      }
  </code></pre>
  
  <p>The guest json looks like</p>
  
  <pre><code>{guest: {name: "a", email: "a"}}
  </code></pre>
  
  <p>My route is</p>
  
  <pre><code>"/episode/$id/addGuest"(method: 'PUT', controller: "episode", action: "addGuest", parseRequest: true)
  </code></pre>
  
  <p>But the request.JSON is always blank "[:]" when I send in the data, either from Angular or from the Rest Console chrome plugin. If I change the Content-type in RestConsole from 'application/json' to 'text/plain', the data shows up! Having data come in via json seems like a basic thing that should just work so I'm sure I've got something messed up. Any help would be greatly appreciated. Thanks.</p>