Interface I_CmsJsonFormattableValue

All Known Implementing Classes:
CmsXmlBooleanValue, CmsXmlDateTimeValue, CmsXmlDynamicCategoryValue, CmsXmlHtmlValue, CmsXmlSerialDateValue, CmsXmlVarLinkValue, CmsXmlVfsFileValue, CmsXmlVfsImageValue

public interface I_CmsJsonFormattableValue
Custom XML content values should implement this interface if custom JSON formatting is needed for them.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the JSON representation of the value.
  • Method Details

    • toJson

      Gets the JSON representation of the value.
      Parameters:
      cms - the CMS context
      Returns:
      the JSON representation of the value