mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
Update json_encode.rst
a more-useful description of the "options" argument >_>
This commit is contained in:
@@ -14,6 +14,6 @@ The ``json_encode`` filter returns the JSON representation of a string:
|
||||
Arguments
|
||||
---------
|
||||
|
||||
* ``options``: The options
|
||||
* ``options``: A bitmask. See http://www.php.net/manual/en/json.constants.php for a list of possible values. Ex: ``{{ data|json_encode(JSON_PRETTY_PRINT) }}``
|
||||
|
||||
.. _`json_encode`: http://php.net/json_encode
|
||||
|
||||
Reference in New Issue
Block a user