I tried to find a cool guide how rendering JSON with Grails works, the documentation on official website - to me - very little information.
which articles you used tha
I think this documentation is sufficient. You install the converters plugin and then render the response object as json:
def list = { def listResult = [ total: Book.count(), items: Book.list(params)] render listResult as JSON }