json_decode
json_last_error
json_last_error_msg
最後のJSONエンコード・デコードのエラーコードを返します。
json_last_error(): int