Class JavaScriptValue

java.lang.Object
org.zkoss.json.JavaScriptValue
All Implemented Interfaces:
Serializable, JSONAware

public class JavaScriptValue extends Object implements JSONAware, Serializable
Used to generate a snippet of the JavaScript code.
Since:
6.0.0
Author:
tomyeh
See Also:
  • Constructor Details

    • JavaScriptValue

      public JavaScriptValue(String js)
      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