From de4d7d274716494e41e9e2061156affb2849dc8d Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Fri, 5 Jan 2024 18:09:47 +0100 Subject: [PATCH] [Serializer] Fix encoder options --- components/serializer.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/serializer.rst b/components/serializer.rst index 6267f1d874e..d655af1693a 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -1047,8 +1047,8 @@ Option Description =============================== ========================================================================================================== ================================ ``json_decode_associative`` If set to true returns the result as an array, returns a nested ``stdClass`` hierarchy otherwise. ``false`` ``json_decode_detailed_errors`` If set to true, exceptions thrown on parsing of JSON are more specific. Requires `seld/jsonlint`_ package. ``false`` -``json_encode_options`` `$flags`_ passed to :phpfunction:`json_decode` function. ``0`` -``json_decode_options`` `$flags`_ passed to :phpfunction:`json_encode` function. ``\JSON_PRESERVE_ZERO_FRACTION`` +``json_decode_options`` `$flags`_ passed to :phpfunction:`json_decode` function. ``0`` +``json_encode_options`` `$flags`_ passed to :phpfunction:`json_encode` function. ``\JSON_PRESERVE_ZERO_FRACTION`` ``json_decode_recursion_depth`` Sets maximum recursion depth. ``512`` =============================== ========================================================================================================== ================================