library/Rediska/Command/GetFromHash.php
public function parseResponse($response)
    {
        if (!empty($this->_fields)) {
            $result = array();
            $fieldsCount = count($this->_fields);
            for ($i = 0; $i < $fieldsCount; $i++) {
                $result[$this->_fields[$i]] = $this->_rediska->getSerializer()->unserialize($response[$i]);
            }
            return $result;
        } else {
            return $this->_rediska->getSerializer()->unserialize($response);
        }
    }
public function parseResponse($response)
    {
        if (!empty($this->_fields)) {
            $result = array();
            $fieldsCount = count($this->_fields);
            for ($i = 0; $i < $fieldsCount; $i++) {
                $result[$this->_fields[$i]] = $this->_rediska->getSerializer()->unserialize($response[$i]);
            }
            return $result;
        } else {
            return $this->_rediska->getSerializer()->unserialize($response);
        }
    }
Parse response

@param array|string $response
@return mixed