JSON
PHP Manual

The JsonException class

(No version information available, might only be in Git)

Introduction

Exception thrown if JSON_THROW_ON_ERROR option is set for json_encode() or json_decode().

Class synopsis

JsonException extends Exception {
/* Inherited properties */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Inherited methods */
final public string Exception::getMessage ( void )
final public Throwable Exception::getPrevious ( void )
final public mixed Exception::getCode ( void )
final public string Exception::getFile ( void )
final public int Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private void Exception::__clone ( void )
}

JSON
PHP Manual