Skip to content

Commit de4d7d2

Browse files
committed
[Serializer] Fix encoder options
1 parent b2e42bb commit de4d7d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/serializer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,8 +1047,8 @@ Option Description
10471047
=============================== ========================================================================================================== ================================
10481048
``json_decode_associative`` If set to true returns the result as an array, returns a nested ``stdClass`` hierarchy otherwise. ``false``
10491049
``json_decode_detailed_errors`` If set to true, exceptions thrown on parsing of JSON are more specific. Requires `seld/jsonlint`_ package. ``false``
1050-
``json_encode_options`` `$flags`_ passed to :phpfunction:`json_decode` function. ``0``
1051-
``json_decode_options`` `$flags`_ passed to :phpfunction:`json_encode` function. ``\JSON_PRESERVE_ZERO_FRACTION``
1050+
``json_decode_options`` `$flags`_ passed to :phpfunction:`json_decode` function. ``0``
1051+
``json_encode_options`` `$flags`_ passed to :phpfunction:`json_encode` function. ``\JSON_PRESERVE_ZERO_FRACTION``
10521052
``json_decode_recursion_depth`` Sets maximum recursion depth. ``512``
10531053
=============================== ========================================================================================================== ================================
10541054

0 commit comments

Comments
 (0)