I am using the following URI like so to pass to jQuery's getJSON.
var publicVidsUrl = 'http://api.publicvideos.org/v/0/clips?callback=?';
$.getJSON(publicVidsUrl, function(data){
alert(data.length);
});
...but it is failing. While the JSON returned passes as valid in JSON lint, I am not so sure. The escaped double quotes seem fine, but I wonder about the double quotes around each object in the parent array.
Can anyone please help clarify where this error is coming from? Specifically I am getting this error from jQuery in the Firebug Console:
(d || "").split is not a function
I am using jQuery 1.4.2