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