I have this json file and i want to work with each object.
So foreach is on way but tried many of them even from stack and it doesn't fetch these objects to i.
Any ideas what went wrong? I inspired by this thread
dynamic stuff = JsonConvert.DeserializeObject(File.ReadAllText(@"C:\Users\Paysami\Desktop\ccc\test.json"));
foreach (var i in stuff)
{
//Console.WriteLine("{0} {1} {2} {3} {4} {5}\n", i.test1, i.test2, i.test3, i.test4, i.test5, i.test6);
List<string> projectList = new List<string> { i.test1, i.test2, i.test3, i.test4, i.test5, i.test6 };
foreach (var x in projectList)
{
Debug.WriteLine(x.ToString());
}
}
