Class JavaScriptValue

    • Constructor Detail

      • 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 Detail

      • toJSONString

        public String toJSONString()
        Specified by:
        toJSONString in interface org.zkoss.json.JSONAware
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object