C# Json反序列化

C# Json反序列化,c#,json,C#,Json,通过这段代码,我尝试读取这些值​​总结->看不见\u计数,但我不能 FacebookClient fb = new FacebookClient(Settings.Default["token"].ToString()); try { dynamic FriendList = fb.Get("/me/notifications"); int count = (int)FriendList.data.Count;

通过这段代码,我尝试读取这些值​​总结->看不见\u计数,但我不能

FacebookClient fb = new FacebookClient(Settings.Default["token"].ToString());

        try
        {
            dynamic FriendList = fb.Get("/me/notifications");

            int count = (int)FriendList.data.Count;

            for (int i = 0; i < count; i++)
            {
                textBox1.Text = FriendList.data[i].summary.unseen_count;
            }
        }
        catch
        {

        }

你能帮我吗?我从来都不明白它是如何工作的。看起来summary不是数据的孩子;您是否尝试过以下方法(在for循环之外)


我尝试过不工作您尝试过在调试器暂停的情况下检查FriendList对象吗?设置断点并深入挖掘。这是另一回事,不是一个列表返回unsee\u计数值
{
       "data": [
          {
             "id": "notif_1000XXXX",    
              "etc"...         
          }
       ],
       "paging": {},

       "summary": {
          "unseen_count": 2,
          "updated_time": "2013-05-22T18:39:00+0000"
       }
    }
textBox1.Text = FriendList.summary.unseen_count;