Serializer/Normalizer/NestedPropertyDenormalizer.php
public function supportsDenormalization($data, $type, $format = null)
    {
        if (!\class_exists($type)) {
            return false;
        }
        $classAnnotation = $this->annotationReader->getClassAnnotation(
            new \ReflectionClass($type),
            NestedPropertyDenormalizerAnnotation::class
        );

        return $classAnnotation instanceof NestedPropertyDenormalizerAnnotation;
    }
public function supportsDenormalization($data, $type, $format = null)
    {
        if (!\class_exists($type)) {
            return false;
        }
        $classAnnotation = $this->annotationReader->getClassAnnotation(
            new \ReflectionClass($type),
            NestedPropertyDenormalizerAnnotation::class
        );

        return $classAnnotation instanceof NestedPropertyDenormalizerAnnotation;
    }
Only supports class with the NestedPropertyDenormalizer annotation

{@inheritDoc}