I have a json as below.
{
"name": "",
"id": "test1",
"properties": {
"name1": [
{
"id": "test2",
},
{
"id": "test3"
}
}
],
"name3": [
{
"id": "test4"
}
],
"name5": [
{
"id": "test7"
}
],
"name7": [
{
"id": "test8"
}
]
}
}
In the above JSON. I am looking to extract values of all properties which has "id". so finally I need a list that has id values as below.
{"test2", "test3","test4","test7","test8"}
How I can implement this in C#. Thanks for any suggestions?