解决方案 »

  1.   

    records要先转换成object[]。JavaScriptSerializer serializer = new JavaScriptSerializer();
    Dictionary<string, object> json = serializer.DeserializeObject(content) as Dictionary<string, object>;//content为json数据,这一步能给够正常解析
    var records = (json["record"] as object[]).OfType<Dictionary<string, object>>();
    foreach (KeyValuePair<string, object> item in records.SelectMany(x => x))
    {
        Console.WriteLine(item.Key + "--" + item.Value);
    }