解析foursquare';s json数据

解析foursquare';s json数据,json,decode,Json,Decode,我需要解析这个json数据并获取用户列表(在response->herenow->items->0->User下) 数据: {“meta”:{“code”:200,“requestId”:“5906f571db04f52e8797b50f”},“通知”:[{“type”:“notificationTray”,“item”:{“unreadCount”:0}}],“response”:{“hereNow”:{“count”:1,“items”:[{“id”:“5906f56e419a9e5f95c

我需要解析这个json数据并获取用户列表(在response->herenow->items->0->User下)

数据:

{“meta”:{“code”:200,“requestId”:“5906f571db04f52e8797b50f”},“通知”:[{“type”:“notificationTray”,“item”:{“unreadCount”:0}}],“response”:{“hereNow”:{“count”:1,“items”:[{“id”:“5906f56e419a9e5f95c08f46”,“createdAt”:1493628270,“type”:“checkin”,“entities”:“:”,“shout”(测试)”,“timeZoneOffset”:180,“user”:{“id”:“lastName”:“firstName”,“xxx”:“xxx”,“性别”:“男性”,“关系”:“自我”,“照片”:{“前缀”:”https://igx.4sqi.net/img/user/“,”后缀“/31705596-l5psqvi2pqoh2sr.jpg“}”,likes:{“计数”:0,“组”:[]},“like”:false}}}

它一直工作到项目部分。在此[0]事件之后,我无法解析任何内容

$venues = json_decode($response, true);
$data_get = $venues[response][hereNow][items];

我缺少什么?

试试$data\u get\u id=$VICENTES['response']['hereNow']['items'][0]['user']['id'],它的工作方式不,它不是这样工作的。