使用VB.NET读取复杂的JSON

时间:2013-12-27 13:08:56

标签: json vb.net

我这里有一个非常奇怪的json类型,有谁知道如何将这个播放列表读入vb.net?我和Newtonsoft.Json一起尝试过,但我不知道,我怎么能深入了解所有项目。

也许有人可以给我一个例子,进入这个。

{
"kind":"sj#playlistList",
"data":{
    "items":[
        {
            "kind":"sj#playlist",
            "id":"f4976632-8b12-4eb1-9d9d-8789f86e145f",
            "creationTimestamp":"1386920817680369",
            "lastModifiedTimestamp":"1387214609186083",
            "recentTimestamp":"1387214609009000",
            "deleted":false,
            "name":"Jetzt wird gezockt",
            "type":"USER_GENERATED",
            "shareToken":"Token",
            "ownerName":"Owner",
            "ownerProfilePhotoUrl":"http://url",
            "accessControlled":false
        },
        {
            "kind":"sj#playlist",
            "id":"7f3189ff-ff50-485a-b4c8-f8c132ec6c6b",
            "creationTimestamp":"1386446415515553",
            "lastModifiedTimestamp":"1387228416316458",
            "recentTimestamp":"1387225951633000",
            "deleted":false,
            "name":"HipHop",
            "type":"USER_GENERATED",
            "shareToken":"Token",
            "ownerName":"Owner",
            "ownerProfilePhotoUrl":"http://url",
            "description":"",
            "accessControlled":false
        },
        {
            "kind":"sj#playlist",
            "id":"390138eb-6809-4c64-bd10-e41c804f205a",
            "creationTimestamp":"1387314202681616",
            "lastModifiedTimestamp":"1387836896131977",
            "recentTimestamp":"1387836895916000",
            "deleted":false,
            "name":"Playlist 2",
            "type":"USER_GENERATED",
            "shareToken":"Token",
            "ownerName":"Owner",
            "ownerProfilePhotoUrl":"http://url",
            "accessControlled":false
        },
        {
            "kind":"sj#playlist",
            "id":"c2223f04-863b-456c-ab8c-514751aaa584",
            "creationTimestamp":"1387744716502993",
            "lastModifiedTimestamp":"1387927152874338",
            "recentTimestamp":"1387927152657000",
            "deleted":false,
            "name":"Prinz Pi",
            "type":"USER_GENERATED",
            "shareToken":"Token",
            "ownerName":"Owner",
            "ownerProfilePhotoUrl":"http://url",
            "accessControlled":false
        },
        {
            "kind":"sj#playlist",
            "id":"935bfa54-36e4-452c-aa20-56c2835cb889",
            "creationTimestamp":"1387143940668642",
            "lastModifiedTimestamp":"1388067135056841",
            "recentTimestamp":"1388067134831000",
            "deleted":false,
            "name":"Playlist 1",
            "type":"USER_GENERATED",
            "shareToken":"Token",
            "ownerName":"Owner",
            "ownerProfilePhotoUrl":"http://url",
            "accessControlled":false
        }
    ]
}

}

0 个答案:

没有答案