private static void ParseItemInfo(dynamic itemsInfo) { JObject itemsData = itemsInfo.data as JObject; foreach (var k in itemsData.Properties()) { int itemID = int.Parse(k.Name); ItemAttributes itemData = ItemAttributes.FromData(k.Value); itemAttributeDict.Add(itemID, itemData); } }