我有来自Wistia的以下JSON,并希望从中列出
[
{
"id":1568823,
"name":"Borrowed Video",
"mediaCount":1,
"created":"2015-04-14T19:27:21+00:00",
"updated":"2015-04-14T19:28:46+00:00",
"hashedId":"wm5j416urg",
"anonymousCanUpload":false,
"anonymousCanDownload":false,
"public":true,
"publicId":"wm5j416urg",
"description":null
},
{
"id":1592682,"name":
"Untitled Project",
"mediaCount":0,
"created":"2015-04-23T15:27:26+00:00",
"updated":"2015-04-23T15:27:26+00:00",
"hashedId":"6ktqeybwa3",
"anonymousCanUpload":false,
"anonymousCanDownload":false,
"public":true,
"publicId":"6ktqeybwa3",
"description":null
}
]
我有一个Project
类和一个ProjectList
类(这是Project
的列表)。我的代码只给出了响应数据部分的空值。
IRestResponse<Wistia.Models.ListProject> response = client.Execute<Wistia.Models.ListProject>(request);
我错过了什么?