DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

ConvertToJsonViewHelper

This is a ViewHelper to convert an array into JSON format.

Type: Basic

Examples

Basic example

Code:

<div id="maps2" data-override="{override->maps2:convertToJson()}"></div>