layout | title |
---|---|
page |
Filters › json_encode |
The json_encode
filter returns the JSON representation of a value:
{{ data|json_encode() }}
For this filter you have to install any json package (cjson
, json
) or configure aspect.config
manually.