/** * this function unserializes the input passed to it. * * @access public * @param string $input The input to unserialize * @return string $input The unserialized input. */ function unserialize($input) { if ($this->_jsonext) { return json_decode($input, $this->loose_type); } else { return $this->_json->decode($input); } }