I have a json like this:
var myjson = [
{
"id": "1"
},
{
"id": "2"
},
{
"id": "3"
},
{
"id": "4"
},
{
"id": "5"
}
];
I want the incoming id removed from myjson when app.delete() is triggered.
Forexample incoming id = 3. Then myjson's new look:
var myjson = [
{
"id": "1"
},
{
"id": "2"
},
{
"id": "4"
},
{
"id": "5"
}
];