public function offsetGet($key)
{
$this->decode_response();
if (!$this->offsetExists($key)) {
return NULL;
}
return is_array($this->decoded_response) ? $this->decoded_response[$key] : $this->decoded_response->{$key};
}