2012-07-25 61 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上看到了一些例子,但它們通常是淺的對象。不確定更深的物體。

幫助?

感謝

回答