[メモ]stdClass Objectの出力(取り出し)[PHP]

ちょいとつまづいたので、メモ書き

XreaでSERVICE_JSONを利用するときinclude_path必須

require_once("Services/JSON.php");
$json = new Services_JSON();
$uri = "JsonのURL";
$file = file_get_contents($uri);
$file_decode = $json->decode($file);
$str = $file_decode[0]->url;
echo $str;