以下是我所拥有的json。由于数组名称不同,我无法使用Newtonsoft.Json直接反序列化。有什么更好的方法。请告诉我。
{
"52296": [{
"4465": {
"totalExecutions": 7,
"endDate": "2018-02-15",
"description": "",
"totalExecuted": 7,
"started": "true",
"versionName": "ere3",
"expand": "executionSummaries",
"projectKey": "Gere",
"versionId": er6,
"environment": "German",
"totalCycleExecutions": 7,
"totalDefects": 0,
"build": "14290582",
"createdBy": "merh",
"ended": "true",
"name": "Cere",
"totalFolders": 0,
"modifiedBy": "madereh",
"projectId": 19495,
"createdByDisplay": "ere",
"startDate": "2018-02-12",
"executionSummaries": {
"executionSummary": []
}
},
"4467": {
"totalExecutions": 7,
"endDate": "2018-02-17",
"description": "",
"totalExecuted": 7,
"started": "true",
"versionName": "df",
"expand": "executionSummaries",
"projectKey": "GdfdC",
"versionId": 52296,
"environment": "Spanish",
"totalCycleExecutions": 7,
"totalDefects": 0,
"build": "14290582",
"createdBy": "dfs",
"ended": "true",
"name": "Connection Quality Indicator v1.3",
"totalFolders": 0,
"modifiedBy": "madhukarsh",
"projectId": 19495,
"createdByDisplay": "dfd",
"startDate": "2018-02-15",
"executionSummaries": {
"executionSummary": []
}
},
"-1": {
"totalExecutions": 0,
"endDate": "",
"description": "",
"totalExecuted": 0,
"started": "",
"versionName": "CQI v1.3",
"expand": "executionSummaries",
"projectKey": "GSTC",
"versionId": 52e6,
"environment": "",
"totalCycleExecutions": 0,
"build": "",
"ended": "",
"name": "Ad hoc",
"modifiedBy": "",
"projectId": 1ee495,
"startDate": "",
"executionSummaries": {
"executionSummary": []
}
},
"recordsCount": 9
}],
"52333": [{
"4490": {
"totalExecutions": 83,
"endDate": "",
"description": "",
"totalExecuted": 44,
"started": "",
"versionName": "20180409",
"expand": "executionSummaries",
"projectKey": "dfd",
"versionId": 52eee33,
"environment": "",
"totalCycleExecutions": 0,
"totalDefects": 27,
"build": "",
"createdBy": "dd",
"ended": "",
"name": "23P Iteration1",
"totalFolders": 3,
"modifiedBy": "yuz",
"projectId": 111,
"createdByDisplay": "11",
"startDate": "",
"executionSummaries": {
"executionSummary": []
}
},
"-1": {
"totalExecutions": 0,
"endDate": "",
"description": "",
"totalExecuted": 0,
"started": "",
"versionName": "CC 20180409",
"expand": "executionSummaries",
"projectKey": "G1C",
"versionId": 5231133,
"environment": "",
"totalCycleExecutions": 0,
"build": "",
"ended": "",
"name": "Ad hoc",
"modifiedBy": "",
"projectId": 1111,
"startDate": "",
"executionSummaries": {
"executionSummary": []
}
},
"recordsCount": 2
}],
"-1": [{
"-1": {
"totalExecutions": 1,
"endDate": "",
"description": "",
"totalExecuted": 1,
"started": "",
"versionName": "Unscheduled",
"expand": "executionSummaries",
"projectKey": "GTC",
"versionId": -1,
"environment": "",
"totalCycleExecutions": 1,
"build": "",
"ended": "",
"name": "Ad hoc",
"modifiedBy": "",
"projectId": 111,
"startDate": "",
"executionSummaries": {
"executionSummary": []
}
},
"recordsCount": 1
}]
}