Browse files

Update json_encode.rst

a more-useful description of the "options" argument >_>
  • Loading branch information...
1 parent 3999169 commit 742043f9e269696b85e89b693c1f526066f468a9 @BenMakesGamesTesting BenMakesGamesTesting committed Apr 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/filters/json_encode.rst
View
2 doc/filters/json_encode.rst
@@ -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

0 comments on commit 742043f

Please sign in to comment.