How do I print values of my fetched json object with each.
This is what i do
$.each(data, function(key, value){
console.log(key + ": " + value);
});
And this is what value contains.
Object
->Person: Array[1]
-->0: Array[10]
--->0: "id:8"
--->1: "name:Holly"
--->length: 1
--->__proto__: Array[0]
->__proto__: Object
And this is what i get
0: [object Object]
1: [object Object]
2: ........