static function parse_json_response($response)
{
$result = json_decode($response->body, TRUE);
if ($result == NULL) {
$error = json_last_error();
throw new \Cloudinary\Api\GeneralError("Error parsing server response ({$response->responseCode}) - {$response->body}. Got - {$error}");
}
return $result;
}