How do I parse the content from this url in JSON?
I am trying to parse this json url with this code i found below, however it does not work.
$.getJSON(url, function (json) {
alert(json.result);
$.each(json.list, function (i, fb) {
alert(fb.result);
});
});
Here is what i have on JS Fiddle http://jsfiddle.net/94Vyf/
If I'm not mistaken, this should pop up a window with some sort of information.
Basically i am trying to get the cast of movie via wikipedia's api.
i narrowed down the result, however i just can't seem to find a way to get just the starring value from the data.
Please help this newbie.
Thank You/