| 
Groovy 1.8.5 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.json.JsonDelegate
class JsonDelegate extends Object
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)
JsonDelegates 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-2011 The Codehaus. All rights reserved.