how to add JSON output in jquery array -
how add below json in jquery array
{hirierchy_add={32=a, 33=b}, events={42=dd, 43=bsfs}}
you can use json.parse()
job
var x = json.parse(your_json_string); var samplearray = []; //create sample array for(var data in x){ arr.push(parsed[data]); //push datas in array }
Comments
Post a Comment