Class: JSONRenderContext

$k. JSONRenderContext

new $k.JSONRenderContext()

Context for rendering JSON

Methods

globalContext() : Array

Get the global context

Only supported in the following application environment(s): View configuration mapper

Deprecated
  • This function is deprecated and might be removed in future releases
    Returns:
    Type Description
    Array

    session() : $k.Session

    Get the session

    Only supported in the following application environment(s): View configuration mapper

    Deprecated
    • This function is deprecated and might be removed in future releases
      Returns:
      Type Description
      $k.Session

      setFilters(keyFilter) : $k.JSONRenderContext

      Set filters

      Name Type Description
      keyFilter object

      Internal Error: no text for this language or unsupported language

      Deprecated
      • This function is deprecated and might be removed in future releases
        Returns:
        Type Description
        $k.JSONRenderContext

        setGlobalContext(jseGlobalContext) : $k.JSONRenderContext

        Set the global context

        Only supported in the following application environment(s): View configuration mapper

        Name Type Description
        jseGlobalContext Array.<object>
        Deprecated
        • This function is deprecated and might be removed in future releases
          Returns:
          Type Description
          $k.JSONRenderContext

          setLevelsOfDetail(levelsOfDetail) : $k.JSONRenderContext

          Set levels of detail, e.g. [ "propertyList", "schema" ]

          Name Type Description
          levelsOfDetail Array.<string>
          Deprecated
          • This function is deprecated and might be removed in future releases
            Returns:
            Type Description
            $k.JSONRenderContext

            setPreferredLocatorTypes(preferredLocatorTypes) : $k.JSONRenderContext

            Set preferred locator types, e.g. [ "propertyList", "schema" ]

            Name Type Description
            preferredLocatorTypes Array.<string>
            Deprecated
            • This function is deprecated and might be removed in future releases
              Returns:
              Type Description
              $k.JSONRenderContext

              setSession(session)

              Set the session

              Only supported in the following application environment(s): View configuration mapper

              Name Type Description
              session object

              Either a JSON object or a Session

              Deprecated
              • This function is deprecated and might be removed in future releases