Deserialize JSON Array in vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • coolminded
    New Member
    • Mar 2007
    • 137

    Deserialize JSON Array in vb.net

    i'm new to json. i have json array and i want to deserialize it.
    my string is :
    Code:
    [
    	{
    	"Id": "1234",
    	"AlbumName": "Album Name",
    	"Songs": [
    		{
    		"AlbumId": "1234",
    		"SongName": "Song 1",
    		"SongLength": "4:11"
    		},
    		{
    		"AlbumId": "1234",
    		"SongName": "Song2",
    		"SongLength": "3:10"
    		}
    	]
    	}
    	]
    
    i have also imported
    
    Imports Newtonsoft.Json
    Imports Newtonsoft.Json.Linq
    i could display value from the json string but i couldn't get the array for Songs
    Last edited by Rabbit; Dec 15 '15, 05:02 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
Working...