PHPJSONjson_last_error_msg
json_last_error

json_last_error_msgJSON

abs

Returns the error string of the last json_encode() or json_decode() call.

Syntax

json_last_error_msg(): string