using Newtonsoft.Json.Linq;
public static void Main()
""Issuer"" : ""LOCAL AUTHORITY"",
""OriginalIssuer"" : ""LOCAL AUTHORITY"",
""Type"" : ""http://my.org/ws/2015/01/identity/claims/mytype"",
""ValueType"" : ""http://www.w3.org/2001/XMLSchema#string""
JObject obj = JObject.Parse(json);
Console.WriteLine("Using 'var' (KeyValuePair<string, JToken>)" + Environment.NewLine);
Console.WriteLine(name + " = " + value);
Console.WriteLine(Environment.NewLine + Environment.NewLine + "Using 'JProperty'" + Environment.NewLine);
foreach (JProperty x in (JToken)obj) {
Console.WriteLine(name + " = " + value);