[jQuery] $.getJSON manipulation

[jQuery] $.getJSON manipulation


Hi all,
I use $.getJSON with flickr REST API, unfortunately flickr is answering:
jsonFlickrApi({"photos":{"page":1, "pages":10, "perpage":100,
"total":"938", "photo":[{"id":"
I guess i should remove "jsonFlickrApi(" header to get the json
interpreted. So i tried:
$.get(url, function(response){
    response = response.split("jsonFlickrApi(")[1];
    response= response.substr(0,response.length-1);
    //var json = JSON.parse(response);
}
but don't knoe how to parse the remaining data as an object
Somebody can help?
Regards,
Phil