I want to split the JSON format data as key,value pair of data without using map
.Please find the below json data.
var data={"123":"test1","2365":"test2","1233":"test3","112365":"test4"}
I want to split as like below output :
key : 123 value : test1
key : 2365 value : test2
success: function (data) {
$.each(response.data, function(value,key) {
return {label: key+","+value,value: key,desc : value};
});