Skip to content

Commit

Permalink
merged branch ThatGuyBen/patch-1 (PR twigphp#1048)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

Update json_encode.rst

a more-useful description of the "options" argument >_>

Commits
-------

742043f Update json_encode.rst
  • Loading branch information
fabpot committed Apr 8, 2013
2 parents 3999169 + 742043f commit 0f74ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/filters/json_encode.rst
Expand Up @@ -14,6 +14,6 @@ The ``json_encode`` filter returns the JSON representation of a string:
Arguments 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 .. _`json_encode`: http://php.net/json_encode

0 comments on commit 0f74ca8

Please sign in to comment.