using System.Collections.Generic;
public static void Main()
string json = "{clients: {'clientname1':{'sha1':'shahashhere','url':'urlhere'},'clientname2':{'sha1':'shahashhere','url':'urlhere'}}}";
List<List<String>> matrix = new List<List<String>>();
matrix.Add(new List<String>());
Client cc = new Client();
Downloads download = new Downloads();
download = JsonConvert.DeserializeObject<Downloads>(json);
foreach (KeyValuePair<string, Client> kvp in download.clients)
Console.WriteLine("URL: " + kvp.Value.url);
Console.WriteLine("SHA1: " + kvp.Value.sha1);
matrix[0].Add(kvp.Value.url);
matrix[0].Add(kvp.Value.sha1);
catch (JsonReaderException jex)
[JsonProperty("clients")]
public Dictionary<string, Client> clients { get; set; }
public string url { get; set; }
public string sha1 { get; set; }