I'm performing an AJAX request with a data structure of the following:
[
c2array: true,
size:
[3,9,1],
data: [
{
key1: val1,
key2: val2,
key3: val3,
key4: val4,
key5: val5,
},
{
key1: val1,
key2: val2,
key3: val3,
key4: val4,
key5: val5,
},
{
key1: val1,
key2: val2,
key3: val3,
key4: val4,
key5: val5,
},
]
When I try to store the results of the AJAX request using AJAX.LastData into an array, I get [object Object] as its values.
How can I loop through each key of the object to access its value? Appreciate any help here.