using System.Collections.Generic;
public static void Main()
""lastVersionId"": ""1.7.10""
""lastVersionId"": ""x.y.z""
""selectedProfile"": ""1.7.10""
RootObject root = JsonConvert.DeserializeObject<RootObject>(json);
foreach (var kvp in root.profiles)
Console.WriteLine("Name: " + kvp.Value.name);
Console.WriteLine("LastVersionId: " + kvp.Value.lastVersionId);
public Dictionary<string, Profile> profiles { get; set; }
public string selectedProfile { get; set; }
public string name { get; set; }
public string lastVersionId { get; set; }