Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
 
PREVIOUS NEXT
Tagged: #AWS #accessing #working #JSON #files
ADD COMMENT
Topic
Name
8+7 =