array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'class.jsonexception.php', 1 => 'JsonException', ), 'up' => array ( 0 => 'book.json.php', 1 => 'JSON', ), 'prev' => array ( 0 => 'json.constants.php', 1 => 'Vordefinierte Konstanten', ), 'next' => array ( 0 => 'class.jsonserializable.php', 1 => 'JsonSerializable', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/json/jsonexception.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.3.0, PHP 8)
Exception thrown if JSON_THROW_ON_ERROR
option is
set for json_encode() or
json_decode(). code contains the error
type, for possible values see json_last_error().