Im decoding a json string, with this code:
$response = (string) file_get_contents($api);
$response = json_decode($response);
echo $response->MySomeKey;
I got this error: Object of class stdClass could not be converted to string.
Why i got this error, and how i can fix it simply?