Interface I_CmsJspJsonContext

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addValue​(java.lang.String key, java.lang.Object val)
      Adds a value to the JSON value being constructed.
    • Method Detail

      • addValue

        void addValue​(java.lang.String key,
                      java.lang.Object val)
               throws javax.servlet.jsp.JspException
        Adds a value to the JSON value being constructed.

        For a JSON object, the key must be not null, and for a JSON array, it must always be null.

        Parameters:
        key - the key (or null)
        val - the value to add
        Throws:
        javax.servlet.jsp.JspException - in case the value could not be added