var playlist = JSON.parse('{"VideoID" : {"VideoTitle" : "the title of the video"} }');
for(var video in playlist){
document.write(video + " "+ video.title +"<br>");
}
the output is : VideoID undefined
I want to the out put to be : VideoID the title of the video
videois a key, not value. There is no such propertytitlein a Stringvideo.