大家好,我有一个 json 输出,它给了我这样的数据:{"results":[{"id":33424,"title":"Test","readyInMinutes":50,"servings":6,"image":"Random.jpg","imageUrls":["Random.jpg"]}],"baseUri":"Random.com","offset":0,"number":1,"totalResults":2323,"processingTimeMs":22323,"expires":33363}如何获取 Title 值并将其保存到 php 变量中?以及我如何从 json 中获取图像变量?我努力了$recipieID = $json->results[0]->id;这适用于 id但如果我尝试$pictureimage = $json->results[0]->image;这没用!
添加回答
举报
0/150
提交
取消