I am receiving a JSON output from a php file, with a number of objects like so:
[
{ "home_content" : "Nam feugiat sem diam, ut fermentum orci hendrerit sit amet.",
"home_id" : 2,
"home_img" : "tech.png",
"home_title" : "Latest Technologies Development"
},
{ "home_content" : "לורם לורם",
"home_id" : 239,
"home_img" : "http://placehold.it/400",
"home_title" : "שוק פירות וירקות"
},
{ "home_content" : "New Item Content",
"home_id" : 259,
"home_img" : "http://www.placehold.it/100",
"home_title" : "New Home Item"
}
]
In my App I want to delete a certain object,
is there a way to recieve its position say by home_id
?
or anything that will let me differentiate a certain object from that list