For JSON, since Grails 3.1, Grails uses Groovy’s by default and you can refer to the Groovy documentation and API documentation on how to use it.