Package org.opencms.jsp
Interface I_CmsJspJsonContext
- All Known Implementing Classes:
CmsJspTagJsonArray
,CmsJspTagJsonObject
public interface I_CmsJspJsonContext
Interface implemented by JSON tags.
Used by nested tags to add values to the JSON being constructed.
-
Method Summary
-
Method Details
-
addValue
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
-