tumblr API の JSON の処理(flash で扱う方法)

twitter API の場合は、JSON 形式のデータはデータの中身だけが送られてくるので、これをそのままデコードして配列に変換してやればよかった。

ところが、tumblr API の場合は、データの前に「var tumblr_api_read = 」がついたこんな式の形で返ってくる。

var tumblr_api_read = {"tumblelog":{"title":"yoropico@tumblr","description":"","name":"yoropico","timezone":"Asia\/Tokyo","cname":false,"feeds":[]},"posts-start":0,"posts-total":17,"posts-type":"photo","posts":[{"id":25207742,"url":"http:\/\/yoropico.tumblr.com\/post\/25207742","type":"photo","date":"Thu, 31 Jan 2008 23:15:03","bookmarklet":0,"mobile":0,"feed-item":"","from-feed-id":0,"photo-caption":"&#12373;&#12425;&#12395;&#12486;&#12473;&#12488;<br\/><br\/>\n(&#8216;-^*)\/","photo-url-500":"http:\/\/data.tumblr.com\/qH6Hkmd9Z4vrp4upogPLb63l_500.jpg","photo-url-400":"http:\/\/data.tumblr.com\/qH6Hkmd9Z4vrp4upogPLb63l_400.jpg","photo-url-250":"http:\/\/data.tumblr.com\/qH6Hkmd9Z4vrp4upogPLb63l_250.jpg","photo-url-100":"http:\/\/data.tumblr.com\/qH6Hkmd9Z4vrp4upogPLb63l_100.jpg","photo-url-75":"http:\/\/data.tumblr.com\/qH6Hkmd9Z4vrp4upogPLb63l_75sq.jpg"}]};

これを php で扱うにはどうすればいいんだろうか? eval でもしてやればいいのかな?うーむ・。