code: protected function denormalizeNested(NestedClass $nestedClassAnnotation, $value)
      {
          if (!$nestedClassAnnotation->multiple) {
              return $this->serializer->denormalize($value, $nestedClassAnnotation->targetClass);
          }
  
          if (!\is_iterable($value)) {
              throw new \UnexpectedValueException('Value should be an array');
          }
          $values = [];
          /** @var array $value */
          foreach ($value as $item) {
              $values[] = $this->serializer->denormalize($item, $nestedClassAnnotation->targetClass);
          }
  
          return $values;
      }
docs: @param NestedClass $nestedClassAnnotation
  @param mixed       $value
  
  @throws \UnexpectedValueException
  
  @return mixed