@@ -1001,17 +1001,17 @@ context to pass in these options using the key ``json_encode_options`` or
10011001
10021002These 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 `json_decode `_ function ``0 ``
1012- ``json_decode_options `` `$flags `_ passed to `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, ``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 ` `\J SON_PRESERVE_ZERO_FRACTION``
1013+ ``json_decode_recursion_depth `` Sets maximum recursion depth ``512 ``
1014+ =============================== === ===================================================== ================================
10151015
10161016.. versionadded :: 6.4
10171017
@@ -1847,6 +1847,4 @@ Learn more
18471847.. _`PHP reflection` : https://php.net/manual/en/book.reflection.php
18481848.. _`data URI` : https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
18491849.. _seld/jsonlint : https://github.com/Seldaek/jsonlint
1850- .. _json_decode : https://www.php.net/manual/en/function.json-decode.php
1851- .. _json_encode : https://www.php.net/manual/en/function.json-encode.php
18521850.. _$flags : https://www.php.net/manual/en/json.constants.php
0 commit comments