AWS S3 - Acessando e trabalhando com arquivos JSON
echo gettype($json); // this outputs 'string'
echo '<br />';
$object = json_decode($json);
echo gettype($object); // this will output 'object'
var_dump($object); // this will show you what's in the object
echo $object; // this is an error, because you can't echo an object
SAMER SAEID