I have a JSON file that I want to be able to amend in C#. I want to be able to delete a set of data.
[
{
"ID": "ID0000001",
"Name": "ABCD",
"Std": "4"
},
{
"ID": "ID5335355",
"Name": "JKLM",
"Std": "6"
},
{
"ID": "ID53534535",
"Name": "XYZ",
"Std": "12"
}
]
how to remove the one id,name and std. like this :
{
"ID": "ID0000001",
"Name": "ABCD",
"Std": "4"
}
after delete this json file like this :
[
{
"ID": "ID5335355",
"Name": "JKLM",
"Std": "6"
},
{
"ID": "ID53534535",
"Name": "XYZ",
"Std": "12"
}
]
I will need to perform one by one delete operations on the Json file. The Json file could contain thousands of results and I really need the most performant way possible.
Any help greatly appreciated.