Builds JSON data. Replaces grails.util.JSonBuilder.
Type | Name and description |
---|---|
static java.lang.Object |
NODE_ELEMENT |
java.lang.Object |
current |
java.lang.Object |
nestingStack |
java.lang.Object |
root |
Type Params | Return Type | Name and description |
---|---|---|
|
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 | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |