📅  最后修改于: 2022-03-11 15:03:53.828000             🧑  作者: Mango
var dict = JObject.Parse(@"{""1"":""Name 1"",""2"":""Name 2""}");
var dict = JsonConvert.DeserializeObject>(json);
foreach(var kv in dict)
{
Console.WriteLine(kv.Key + ":" + kv.Value);
}