Permalink
Browse files

tweaked previous merge

  • Loading branch information...
1 parent 0f74ca8 commit 481abb83323f4dcabadc9292b0e9f104df0719de @fabpot committed Apr 8, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 doc/filters/json_encode.rst
@@ -14,6 +14,8 @@ The ``json_encode`` filter returns the JSON representation of a string:
Arguments
---------
- * ``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) }}``
+ * ``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

0 comments on commit 481abb8

Please sign in to comment.