(PHP 5 >= 5.5.0)
json_last_error_msg — Returns the error string of the last json_encode() or json_decode() call
У этой функции нет параметров.
Returns the error message on success, "No Error" if no
error has occurred, или FALSE
в случае возникновения ошибки.