From 742043f9e269696b85e89b693c1f526066f468a9 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 1 Apr 2013 18:30:05 -0300 Subject: [PATCH] Update json_encode.rst a more-useful description of the "options" argument >_> --- doc/filters/json_encode.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/filters/json_encode.rst b/doc/filters/json_encode.rst index 374f519..d62fb93 100644 --- a/doc/filters/json_encode.rst +++ b/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 -- 1.7.2.5