Parse PHP array in ASP.NET web service?

mechergui

New Member
For a web service having this structure in PHP:\[code\]function getAlbums($quantity) { /* this is a sample array */ $albums=array(); $albums[0]['title']='Stripped'; $albums[0]['artist']='Christina Aguilera'; $albums[0]['genre']='Pop'; $albums[0]['songs'][0]='Beautiful'; $albums[0]['songs'][1]='Fighter'; $return=array(); for($i=0;$i<=$quantity;$i++){ $return[$i]=$albums[$i]; } return $return; }\[/code\]I have it displaying fine in my browser with a PHP client, but now how do I parse it in ASP.NET to show the data?Thank you.
 
Back
Top