|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object grails.web.JSONBuilder
class JSONBuilder extends java.lang.Object
Builds JSON data. Replaces grails.util.JSonBuilder.
Property Summary | |
---|---|
static java.lang.Object |
NODE_ELEMENT
|
java.lang.Object |
current
|
java.lang.Object |
nestingStack
|
java.lang.Object |
root
|
Method Summary | |
---|---|
java.util.List
|
array(groovy.lang.Closure c)
|
JSON
|
build(groovy.lang.Closure c)
|
java.lang.Object
|
getProperty(java.lang.String propName)
|
java.lang.Object
|
invokeMethod(java.lang.String methodName)
|
java.lang.Object
|
invokeMethod(java.lang.String methodName, java.lang.Object args)
|
void
|
setProperty(java.lang.String propName, java.lang.Object value)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
static java.lang.Object NODE_ELEMENT
java.lang.Object current
java.lang.Object nestingStack
java.lang.Object root
Method Detail |
---|
java.util.List array(groovy.lang.Closure c)
JSON build(groovy.lang.Closure c)
java.lang.Object getProperty(java.lang.String propName)
java.lang.Object invokeMethod(java.lang.String methodName)
java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)
void setProperty(java.lang.String propName, java.lang.Object value)
Groovy Documentation