PATH:
home
/
letacommog
/
laindinois
/
OLD
/
wp-content
/
plugins
/
responsive-menu
/
vendor
/
twig
/
twig
/
doc
/
filters
``json_encode`` =============== The ``json_encode`` filter returns the JSON representation of a value: .. code-block:: jinja {{ data|json_encode() }} .. note:: Internally, Twig uses the PHP `json_encode`_ function. Arguments --------- * ``options``: A bitmask of `json_encode options`_ (``{{ data|json_encode(constant('JSON_PRETTY_PRINT')) }}``) .. _`json_encode`: http://php.net/json_encode .. _`json_encode options`: http://www.php.net/manual/en/json.constants.php
[+]
..
[-] keys.rst
[edit]
[-] striptags.rst
[edit]
[-] trim.rst
[edit]
[-] spaceless.rst
[edit]
[-] join.rst
[edit]
[-] date.rst
[edit]
[-] index.rst
[edit]
[-] capitalize.rst
[edit]
[-] escape.rst
[edit]
[-] round.rst
[edit]
[-] nl2br.rst
[edit]
[-] raw.rst
[edit]
[-] slice.rst
[edit]
[-] number_format.rst
[edit]
[-] title.rst
[edit]
[-] first.rst
[edit]
[-] format.rst
[edit]
[-] batch.rst
[edit]
[-] sort.rst
[edit]
[-] split.rst
[edit]
[-] filter.rst
[edit]
[-] merge.rst
[edit]
[-] length.rst
[edit]
[-] map.rst
[edit]
[-] upper.rst
[edit]
[-] convert_encoding.rst
[edit]
[-] lower.rst
[edit]
[-] json_encode.rst
[edit]
[-] reverse.rst
[edit]
[-] reduce.rst
[edit]
[-] date_modify.rst
[edit]
[-] last.rst
[edit]
[-] url_encode.rst
[edit]
[-] replace.rst
[edit]
[-] abs.rst
[edit]
[-] default.rst
[edit]