2
I have json messe format:
{
"indice1":['nome1', 'nome2'],
"indice2":['nome1', 'nome2', 'nome3']
}
What I want is when the user clicks on the delete button it deletes the last json item. In the case of the above json it would delete the nome3 and clicking again would delete the nome2and then exclude the nome1together with the International indice2(because it would delete the last json item and leave it empty so it could delete the Dice). And so on, always excluding the last item.