i declarate a JSON like this
var json{
section1: [],
section2: [],
section3: []
}
i want to remove a specific item of this way or something like
json[section][index].remove();
i tried with this way
delete json[section][index];
but when i do this the array elements don't rearrange
splice()to remove an item from an array. --> stackoverflow.com/questions/5767325/…index, you could dodelete json["section"+index]