using System.Collections.Generic;
using Newtonsoft.Json.Linq;
public static void Main()
""type"": ""application/json""
""type"": ""application/json""
""href"": ""yetanotherurl"",
""type"": ""application/json""
""href"": ""evenmoreurl"",
""type"": ""application/json""
""href"": ""andyesevenmoreurl"",
""type"": ""application/json""
""href"": ""tiredofurls"",
""type"": ""application/json""
Dictionary<string, Link> dict =
.ToDictionary(jp => jp.Name, jp => new Link()
Href = (string)jp.Value["href"],
Type = (string)jp.Value["type"]
foreach (var link in dict.Values)
Console.WriteLine(string.Format("{0,-20} {1,-20} {2,-20}", link.Name, link.Href, link.Type));
Console.WriteLine("paymentCard Url: " + dict["paymentCard"].Href);
public string Name { get; set; }
public string Href { get; set; }
public string Type { get; set; }