2012-07-25 62 views
0

我得到这个回JSON从Box.comC#转换JSON结果

{ 
    "total_count": 2, 
    "entries": [ 
     { 
      "type": "file", 
      "id": "2615240421", 
      "sequence_id": "0", 
      "name": "successful file upload.png", 
      "description": null, 
      "size": 19586, 
      "path": "/Hey Hey Whats Goin On/successful file upload.png", 
      "path_id": "/316877053/2615240421", 
      "created_at": "2012-07-11T11:54:21-07:00", 
      "modified_at": "2012-07-11T11:54:21-07:00", 
      "etag": null, 
      "created_by": { 
       "type": "user", 
       "id": "181757341", 
       "name": "sean test", 
       "login": "[email protected]" 
      }, 
      "modified_by": { 
       "type": "user", 
       "id": "181757341", 
       "name": "sean test", 
       "login": "[email protected]" 
      }, 
      "owned_by": { 
       "type": "user", 
       "id": "181757341", 
       "name": "sean test", 
       "login": "[email protected]" 
      }, 
      "shared_link": null, 
      "parent": { 
       "type": "folder", 
       "id": "316877053", 
       "sequence_id": "0", 
       "name": "Hey Hey Whats Goin On" 
      } 
     }, 
     { 
      "type": "file", 
      "id": "2615240431", 
      "sequence_id": "0", 
      "name": "a whole lot of shit just happenedjson.png", 
      "description": null, 
      "size": 128063, 
      "path": "/Hey Hey Whats Goin On/a whole lot of shit just happenedjson.png", 
      "path_id": "/316877053/2615240431", 
      "created_at": "2012-07-11T11:54:21-07:00", 
      "modified_at": "2012-07-11T11:54:21-07:00", 
      "sha1": null, 
      "created_by": { 
       "type": "user", 
       "id": "181757341", 
       "name": "sean test", 
       "login": "[email protected]" 
      }, 
      "modified_by": { 
       "type": "user", 
       "id": "181757341", 
       "name": "sean test", 
       "login": "[email protected]" 
      }, 
      "owned_by": { 
       "type": "user", 
       "id": "181757341", 
       "name": "sean test", 
       "login": "[email protected]" 
      }, 
      "shared_link": null, 
      "parent": { 
       "type": "folder", 
       "id": "316877053", 
       "sequence_id": "0", 
       "name": "Hey Hey Whats Goin On" 
      } 
     } 
    ] 
} 

我需要得到每个文件的修改的信息。不知道如何在.NET中做到这一点。我习惯于解析XML。我在Stack上看到了一些例子,但它们通常是浅的对象。不确定更深的物体。

帮助?

感谢

回答