我无法使用 PHP 从 JSON 中获取“img_url”(第三行)值。这是 JSON 字符串:
编辑(这是 JSON,我很抱歉发布 var_dump):
{"status_code":200,"status_txt":"OK",
"data":{"img_name":"KdxIC.png","img_url":"http:\/\/s0.uploads.im\/KdxIC.png",
"img_view":"http:\/\/uploads.im\/KdxIC.png","img_width":"504","img_height":"504",
"img_attr":"width=\"504\" height=\"504\"","img_size":"15.1 KB","img_bytes":15494,
"thumb_url":"http:\/\/s0.uploads.im\/t\/KdxIC.png","thumb_width":360,"thumb_height":360,
"source":"http:\/\/site.com\/uploads\/icon1@2x.png","resized":"0","delete_key":"6e814d3c5201feee"}}
接受的答案有效。谢谢