Skip to content

Commit 06c03de

Browse files
committed
bug #19381 [Serializer] Fix encoder options (alamirault)
This PR was merged into the 6.4 branch. Discussion ---------- [Serializer] Fix encoder options Fix #19376 Commits ------- de4d7d2 [Serializer] Fix encoder options
2 parents b2e42bb + de4d7d2 commit 06c03de

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)