Update json_encode.rst

a more-useful description of the "options" argument >_>
This commit is contained in:
Ben
2013-04-01 18:30:05 -03:00
parent 3999169165
commit 742043f9e2
+1 -1
View File
@@ -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