I have been working on some automated tests with selenium and I need to get some data out of a JSON file.
how can i go about coding this, i have this so far
string json = File.ReadAllText("myfilepath");
dynamic data = jsonConvert.DeserializeObject(json);
string x = data[0].CountryName.Value;
foreach(var CN in data.countryName)
{
    var CountryName = CN.CountryName;
}
I am a bit stuck on getting data through to loop it Any help would be amazing guys
Example Json :
[
   {
       "CountryLookupId":123,
       "CountryName":data,
       "CountryLocation": moredata
   }
]
I am trying to loop through the CountryName,i need to loop through 31 things
 
    