Task/Serialization/DenormalizerTask.php
public function execute(ProcessState $state)
    {
        $options = $this->getOptions($state);
        $normalizedData = $this->denormalizer->denormalize(
            $state->getInput(),
            $options['class'],
            $options['format'],
            $options['context']
        );
        $state->setOutput($normalizedData);
    }
public function execute(ProcessState $state)
    {
        $options = $this->getOptions($state);
        $normalizedData = $this->denormalizer->denormalize(
            $state->getInput(),
            $options['class'],
            $options['format'],
            $options['context']
        );
        $state->setOutput($normalizedData);
    }
@param ProcessState $state

@throws \Symfony\Component\Serializer\Exception\UnexpectedValueException
@throws \Symfony\Component\Serializer\Exception\RuntimeException
@throws \Symfony\Component\Serializer\Exception\LogicException
@throws \Symfony\Component\Serializer\Exception\InvalidArgumentException
@throws \Symfony\Component\Serializer\Exception\ExtraAttributesException
@throws \Symfony\Component\Serializer\Exception\BadMethodCallException
@throws \Symfony\Component\OptionsResolver\Exception\ExceptionInterface