How to read JSON file while executing the test in C#?

How to read JSON file while executing the test in C#?

Hi Tom,

To read JSON file while executing the test in C#, you need to take the file in one object like:

data public static JObject data = JObject.Parse(File.ReadAllText("D:\\CSharp-NUnit-Selenium-master\\abcde.JSON"));