public function deserialize($data, $type, $format, array $context = array())
{
if (!$type) {
$temp = $this->serializer->decode($data, $format, $context);
$type = isset($this->map[$temp['type']]) ? $this->map[$temp['type']] : 'Bangpound\\oEmbed\\Response\\Response';
}
return $this->serializer->deserialize($data, $type, $format, $context);
}