Skip to content

Commit

Permalink
tweaked previous merge
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 8, 2013
1 parent 0f74ca8 commit 481abb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/filters/json_encode.rst
Expand Up @@ -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.