By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,986 Members | 1,944 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,986 IT Pros & Developers. It's quick & easy.

Deserialize JSON Array in vb.net

100+
P: 138
i'm new to json. i have json array and i want to deserialize it.
my string is :
Expand|Select|Wrap|Line Numbers
  1. [
  2.     {
  3.     "Id": "1234",
  4.     "AlbumName": "Album Name",
  5.     "Songs": [
  6.         {
  7.         "AlbumId": "1234",
  8.         "SongName": "Song 1",
  9.         "SongLength": "4:11"
  10.         },
  11.         {
  12.         "AlbumId": "1234",
  13.         "SongName": "Song2",
  14.         "SongLength": "3:10"
  15.         }
  16.     ]
  17.     }
  18.     ]
  19.  
  20. i have also imported
  21.  
  22. Imports Newtonsoft.Json
  23. Imports Newtonsoft.Json.Linq
  24.  
i could display value from the json string but i couldn't get the array for Songs
Dec 15 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.