8000 [Serializer] Fix serializer table · symfony/symfony-docs@28c7974 · GitHub
[go: up one dir, main page]

Skip to content

Commit 28c7974

Browse files
[Serializer] Fix serializer table
1 parent 86e71a4 commit 28c7974

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

components/serializer.rst

Lines changed: 9 additions & 11 deletions
8000
Original file line numberDiff line numberDiff line change
@@ -1001,17 +1001,15 @@ context to pass in these options using the key ``json_encode_options`` or
10011001

10021002
These are the options available:
10031003

1004-
=============================== ======================================================== ================================
1005-
Option Description Default
1006-
=============================== ======================================================== ================================
1007-
``json_decode_associative`` If set to true returns the result as an array, ``false``
1008-
returns a nested ``stdClass`` hierarchy otherwise. ``false``
1009-
``json_decode_detailed_errors`` If set to true, exceptions thrown on parsing of JSON ``false``
1010-
are more specific. Requires `seld/jsonlint`_ package.
1011-
``json_encode_options`` `$flags`_ passed to :phpfunction:`json_decode`_ function ``0``
1012-
``json_decode_options`` `$flags`_ passed to :phpfunction:`json_encode`_ function ``\JSON_PRESERVE_ZERO_FRACTION``
1013-
``json_decode_recursion_depth`` Sets maximum recursion depth ``512``
1014-
=============================== ======================================================== ================================
1004+
=============================== =========================================================================================================== ================================
1005+
Option Description Default
1006+
=============================== ========================================================================================================== ================================
1007+
``json_decode_associative`` If set to true returns the result as an array, returns a nested ``stdClass`` hierarchy otherwise. ``false``
1008+
``json_decode_detailed_errors`` If set to true, exceptions thrown on parsing of JSON are more specific. Requires `seld/jsonlint`_ package. ``false``
1009+
``json_encode_options`` `$flags`_ passed to :phpfunction:`json_decode`_ function. ``0``
1010+
``json_decode_options`` `$flags`_ passed to :phpfunction:`json_encode`_ function. ``\JSON_PRESERVE_ZERO_FRACTION``
1011+
``json_decode_recursion_depth`` Sets maximum recursion depth. ``512``
1012+
=============================== ========================================================================================================== ================================
10151013

10161014
.. versionadded:: 6.4
10171015

0 commit comments

Comments
 (0)
0