using System.Collections.Generic;
public static void Main()
""Description"": ""These are delicious meals for one"",
""Notes"": ""May contain Gluten or Nuts"",
""Description"": ""Basic Pasta dish in a tomato and basil sauce"",
string CurrentMeal = "Pasta";
var DinnerSetsHash = JsonConvert.DeserializeObject<Dictionary<string, DinnerSet>>(jsonContent);
foreach (var DinnerSet in DinnerSetsHash)
string MealID = DinnerSet.Value.Meals[CurrentMeal].MealID;
Console.WriteLine(MealID);
public string Version { get; set; }
public bool Enabled { get; set; }
public string Description { get; set; }
public string Notes { get; set; }
public Dictionary<string, Meal> Meals { get; set; }
public string MealID { get; set; }
public string Description { get; set; }
public string Type { get; set; }