I have this list:
data = [
{"serie" : "F001", "numero" : "1", "estado" : "1"},
{"serie" : "F001", "numero" : "2", "estado" : "1"},
{"serie" : "F001", "numero" : "3", "estado" : "1"},
{"serie" : "F001", "numero" : "4", "estado" : "1"}
]
I want to get this new list without the states:
dataNew = [
{"serie" : "F001", "numero" : "1"},
{"serie" : "F001", "numero" : "2"},
{"serie" : "F001", "numero" : "3"},
{"serie" : "F001", "numero" : "4"}
]
Thank you very much
Just loop through the Maps listing and remove the key
estado
.