Package org.zkoss.json
Class JavaScriptValue
java.lang.Object
org.zkoss.json.JavaScriptValue
- All Implemented Interfaces:
Serializable,JSONAware
Used to generate a snippet of the JavaScript code.
- Since:
- 6.0.0
- Author:
- tomyeh
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JavaScriptValue
Constructor- Parameters:
js- the snippet of the JavaScript code. For example, "{what: 123, another: 'a'}". The content is generated directly to the AU response, so it must be a valid JavaScript code.
-
-
Method Details