I want to access data from a json file in my file directory.
I have tried using StreamReader but it does not deserialize the data.
string json = r.ReadToEnd();
WorkFlowConfiguration items =
JsonConvert.DeserializeObject<WorkFlowConfiguration>(json);
Debug.WriteLine(items.WorkFlowAction);
Console.WriteLine(items.WorkFlowAction);
items.WorkFlowAction.ForEach(el => Console.WriteLine(el.ToString()));
string jsonvariable after line1 of your code snippet?