Rendering JSON and XML data with Groovy and Grails

How easy is it to provide JSON/XML data for an Ajax call in a Grails web-app? The Agile Ajax blog has a quick tutorial showing that providing data to your Ajax applications could hardly be easier!

*****