If I start with an empty object, designed to hold a description and then an array of values (objects):
var obj = { "description" : "description",
"value" : [ {} ]
};
I can successfully add the required objects dynamically if they're nested together, like so:
obj.value[i] = { "Key1" : Parseddata[i][1],
"Key2" : Parseddata[i][2],
"Key3" : Parseddata[i][3]
};
but how can I add each object into the array separately (that is, not nested together in the same object)? For example, If start with:
obj.value[i] = { "Key1" : Parseddata[i][1] };
and then want to add Key2, Key3 in separate steps?