php接口返回json,无法解析

2025-04-29 09:53:12
推荐回答(1个)
回答1:

file_get_contents 得到的字符,使用 json_decode 解析成json。
$xxx_json = json_decode($xxx_response);