So far I’ve shown how to produce JSON from simple collections and how to convert domain objects to JSON, in this final post in my three-part look at rendering JSON from Grails controllers, we’ll take a look at customising the way objects are rendered by the JSON converter. Continue reading
Tag Archives: gorm
Rendering JSON in Grails. Part 2: Plain Old Groovy Objects and Domain Objects
In my last post I went through the very basics of rendering JSON in Grails. In this post I’ll cover the rendering of POGOs and Grails domain objects. Continue reading