samlofer Posted March 8, 2013 Share Posted March 8, 2013 Hi, I am trying to fetch record via linked-in api, it returns me data in Json format, samle is given below: { "numResults": 854, "people": { "_count": 25, "_start": 10, "_total": 110, "values": [ { "firstName": "xyzz", "id": "wdd23e4wdf", "lastName": "acbb" }, { "firstName": "xysz", "id": "fdarfwere", "lastName": "abc" } ] }} Can some one help me that how can i fetch records values from it? Thanks in Advance. Quote Link to comment https://forums.phpfreaks.com/topic/275410-how-to-get-values-from-json-response/ Share on other sites More sharing options...
AyKay47 Posted March 8, 2013 Share Posted March 8, 2013 Use json_decode Quote Link to comment https://forums.phpfreaks.com/topic/275410-how-to-get-values-from-json-response/#findComment-1417560 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.