In javascript either you put values in an array:
var array = [1, 2, 3, 4];
that can be objects:
var array [
{id: 1},
{id: 2}
];
But you can't put key value pairs in an array
// not valid
var array = [id: 1, name: sdf];
Only objects can have key value pairs, arrays only have values.
In your json the keys add, decrement, find, etc are key value pairs and making your array not valid.
What you need to do is to put those in a third object or make the whole thing an object by replacing [] by {}
Once you have a valid object or array you can use for in to loop over the properties of your object or calling them directly with the dot notation or looping through the objects in your array.
https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Instructions/for...in
cart[0].cart_item_idetc.