Handle JSON request in Grails

In controller we get request parameters by using params. But whenever a JSON request comes on controller we can’t get its parameters on the params. To get JSON request parameters we have to use

request.JSON