...
|
...
|
@@ -15,9 +15,10 @@ Arguments
|
15
|
15
|
---------
|
16
|
16
|
|
17
|
17
|
* ``options``: A bitmask of `json_encode options`_ (``{{
|
18
|
|
- data|json_encode(constant('JSON_PRETTY_PRINT')) }}``. Combine constants using `Twig's bitwise operators`: ``{{
|
|
18
|
+ data|json_encode(constant('JSON_PRETTY_PRINT')) }}``.
|
|
19
|
+ Combine constants using `Twig's bitwise operators`: ``{{
|
19
|
20
|
data|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_HEX_QUOT') }}``)
|
20
|
21
|
|
21
|
22
|
.. _`json_encode`: https://secure.php.net/json_encode
|
22
|
23
|
.. _`json_encode options`: https://secure.php.net/manual/en/json.constants.php
|
23
|
|
-.. `Twig's bitwise operators`: https://twig.symfony.com/doc/2.x/templates.html#logic
|
|
24
|
+.. _`Twig's bitwise operators`: https://twig.symfony.com/doc/2.x/templates.html#logic
|