Deserializes data into the given type.
mixed $data:
string $type:
string $format:
Overrides SerializerInterface::deserialize
public final function deserialize($data, $type, $format) {
if (!$this
->supportsDecoding($format)) {
throw new UnexpectedValueException('Deserialization for the format ' . $format . ' is not supported');
}
$data = $this
->decode($data, $format);
return $this
->denormalize($data, $type, $format);
}