Hello I have one json object which includes nested data such as below
{
"key1":"test",
"key2":{
"key3" :"test2"
}
}
and I have one List like below
List<string> listkeys= new List<string>() {"key1","key2.key3" }
I want to enter loop of listkeys and get value from json object dynamically.
foreach (int element in listkeys)
{
//how can I get value with element
}
I couldn't find any solution.
Thanks in advance