grails - convert plain old groovy to JSON -



grails - convert plain old groovy to JSON -

what's simplest way respond in json using grails? e.g. next doesn't work.

boolean = false render json

directly documentation, like

render(contenttype: "text/json") { hello = "world" }

json grails groovy

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -