How can I parse this below JSON data as this data I am getting as a response back from the server and I want to extract the value and label from this json data and have to put on a popup window..
For example:- For this data "application_number":"20007524.8"
I want to extract application_number as Application Number and corresponding to Application Number its value 20007524.8
Any suggestions how can I do this..
jsonp13082({"responseHeader":{"status":0,"Time":3,"params":{"json.wrf":"jsonp13082","wt":"json","q":"8377"}},"response":{"numFound":1,"start":0,"docs":[{"key":"83779616","number":"080","name":"Designated","name":"Non ","number":"27837","date":"2010-08-24T07:00:00Z","name":"Canada","name":"Application","title":"collision detection","date":"2008-03-03T08:00:00Z","id":"414","code":"CA","date":"2009-03-03T08:00:00Z","name":"Michael Henry","mgr_name":"abc","id":"79616","name":"oen","claims":"74","date":"2012-03-03T08:00:00Z","claims":"8","url":"","inventors":["D.","rshi","Pa"],"guid":["23","26","25"],"towners":["XYZ"],"inventors":["D","name2","name3"],"owners":["XYZ"]}]}})
There is a built in
parseJSONfunction in jQuery.EDIT: Example of usage:
How?
Using the code like this:
Demo.