Skip to content
mitochondrion edited this page May 5, 2017 · 4 revisions

Response Conversion

Object to JSON

import groovy.json.*
new JsonBuilder(object).toPrettyString()

ChildNode to XML

import groovy.xml.XmlUtil
groovy.xml.XmlUtil.serialize(node).toString()

Grails routes

grails url-mappings-report
Clone this wiki locally