Attributes |
Name | Required | Request-time | Type | Description |
var | false | true | java.lang.String | The name of the page context attribute to store the JSON in. |
target | false | true | java.lang.String | The target Object to store the JSON in. This must be another JSON object. |
key | false | true | java.lang.String | The key used to add this value to the surrounding JSON context. Should be used if and only if the surrounding JSON tag is a jsonobject tag. |
mode | false | true | java.lang.String | This parameter controls what is stored in the page context attribute given by the var attribute. If mode equals 'text', formatted JSON for the value will be stored; if mode equals 'object', the JSON value itself. If mode equals 'wrapper', a CmsJspJsonWrapper around the object is stored. The default value is 'wrapper'. |
scope | false | true | java.lang.String | The scope to store the generated JSON variable in, can be 'page' (default), 'request', , 'session' or 'application'. |