AWS S3 - accessing and working with JSON files
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