public function JsonDecode::supportsDecoding in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Encoder/JsonDecode.php \Symfony\Component\Serializer\Encoder\JsonDecode::supportsDecoding()
Checks whether the deserializer can decode from given format.
Parameters
string $format format name:
Return value
bool
Overrides DecoderInterface::supportsDecoding
File
- vendor/
symfony/ serializer/ Encoder/ JsonDecode.php, line 120
Class
- JsonDecode
- Decodes JSON data.
Namespace
Symfony\Component\Serializer\EncoderCode
public function supportsDecoding($format) {
return JsonEncoder::FORMAT === $format;
}