|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object groovy.json.JsonDelegate
class JsonDelegate
Utility class used as delegate of closures representing JSON objects.
Property Summary | |
---|---|
def |
content
|
Method Summary | |
---|---|
static def
|
cloneDelegateAndGetContent(Closure c)
Factory method for creating |
def
|
invokeMethod(String name, Object args)
Intercepts calls for setting a key and value for a JSON object |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
def content
Method Detail |
---|
static def cloneDelegateAndGetContent(Closure c)
JsonDelegate
s from closures.
c
- closure representing JSON objectsJsonDelegate
def invokeMethod(String name, Object args)
name
- the key nameargs
- the value associated with the key
Copyright © 2003-2013 The Codehaus. All rights reserved.