jquery - How to get json in javascript or ajax -


i have json data

enter image description here

how can data using javascript

thanks :)

this code

 var getjsondata = function(uri,callback){     $.ajax({       type: "get",       datatype: "jsonp",       url: uri,       jsonpcallback: 'response',           contenttype: "application/json",       success: function(json){         console.log(json);         callback(json);       }     });   } 
  var uri = pbxapi+"/confbridge_participants/conference_participants.json?cid="+circle; getjsondata(uri, function(res){    } 

var uri = pbxapi+"/confbridge_participants/conference_participants.json?cid="+circle; getjsondata(uri, function(res){    var data = json.parse(res);    for(var objectindex=0; objectindex < data.length; objectindex++){      var tempobject = data[objectindex];      var id = tempobject.id;      var uid = tempobject.uid;      ....      var updated_at = tempobject.updated_at;    } } 

Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -