Checks whether the serializer can decode from given format
string $format format name:
Boolean
Overrides DecoderInterface::supportsDecoding
public function supportsDecoding($format) {
try {
$this
->getDecoder($format);
} catch (RuntimeException $e) {
return false;
}
return true;
}