Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update json_encode.rst

a more-useful description of the "options" argument >_>
  • Loading branch information...
commit 742043f9e269696b85e89b693c1f526066f468a9 1 parent 3999169
Ben authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/filters/json_encode.rst
2  doc/filters/json_encode.rst
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.