Link to home
Start Free TrialLog in
Avatar of stargateatlantis
stargateatlantis

asked on

Trying to parse the json data getting both key name and value

I have the following JSON data.  Using JavaScript how do i parse the following JSON data getting the key name and value.   Now the area i am focusing is the DATA node in the JSON

{"total":154,"per_page":20,"current_page":1,"last_page":8,"from":1,"to":20,
"data":[{"id":1,"name":"the name","contact":"Rob"},{"id":2,"name":"the name","contact":"Joe"}]}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial