I'm trying to save my data using json. I don't know how to get specific object group from a set of json objects.
[
{
"dateinformation": "2021-10-05:23:01",
"id": 1,
"MoveCount": 3,
"StartPoint": 2322,
"TotalDist": 2331,
"SafeDist": 21332,
"Feed": 2332,
"EndPoint":23245,
"Count":1221,
},
{
"dateinformation": "2021-10-05:26:01",
"id": 2,
"MoveCount": 3,
"StartPoint": 2322,
"TotalDist": 2331,
"SafeDist": 21332,
"Feed": 2332,
"EndPoint":23245,
"Count":1221,
},
{
"dateinformation": "2021-10-55:03:01",
"id": 3,
"MoveCount": 3,
"StartPoint": 2322,
"TotalDist": 2331,
"SafeDist": 21332,
"Feed": 2332,
"EndPoint":23245,
"Count":1221,
}]
is it possible to get/delete a specific object from a bundle of json object by its "id" value?
Do like that
NameSpace will include:
Here you can replace your id by specificId
Class for Deserialize your JSON response:
Also, I have noticed your JSON last column comma in last that should not be like that "Count" : 1221,