using System;
using Newtonsoft.Json.Linq;
public class Program
{
public static void Main()
string json = @"
""prototypeQuery"": {
""Version"": 2,
""From"": [
""Name"": ""i"",
""Entity"": ""IPS""
}
],
""Select"": [
""Column"": {
""Expression"": {
""SourceRef"": {
""Source"": ""i""
},
""Property"": ""Name""
""Name"": ""IPS.Name""
""Property"": ""Lead""
""Name"": ""IPS.Lead""
""Property"": ""Contact""
""Name"": ""IPS.Contact""
""Property"": ""Year""
""Name"": ""IPS.Year""
]
}";
var jsonobject = JObject.Parse(json);
foreach (var item in jsonobject.SelectTokens("$..Property", false))
Console.WriteLine(item);