public function JsonBlueprintDenormalizer::supportsDenormalization in Subrequests 8
Same name and namespace in other branches
- 8.2 src/Normalizer/JsonBlueprintDenormalizer.php \Drupal\subrequests\Normalizer\JsonBlueprintDenormalizer::supportsDenormalization()
- 3.x src/Normalizer/JsonBlueprintDenormalizer.php \Drupal\subrequests\Normalizer\JsonBlueprintDenormalizer::supportsDenormalization()
File
- src/
Normalizer/ JsonBlueprintDenormalizer.php, line 73
Class
Namespace
Drupal\subrequests\NormalizerCode
public function supportsDenormalization($data, $type, $format = NULL) {
return $format === 'json' && $type === RequestTree::class && is_array($data) && !static::arrayIsKeyed($data);
}