Serializer/EventDispatcher/JobDeserializationSubscriber.php
public function onPreDeserialize(PreDeserializeEvent $event)
    {
        $type = $event->getType();
        if (isset($type['name']) && ($type['name'] == Job::class || is_subclass_of($type['name'], Job::class))) {
            $data = $event->getData();
            if (isset($data['type']) && isset($data['parameters']) && is_array($data['parameters']) && count($data['parameters']) > 0) {
                array_push($data['parameters'], ['abc.job.type' => $data['type']]);
                $event->setData($data);
            }
        }
    }
public function onPreDeserialize(PreDeserializeEvent $event)
    {
        $type = $event->getType();
        if (isset($type['name']) && ($type['name'] == Job::class || is_subclass_of($type['name'], Job::class))) {
            $data = $event->getData();
            if (isset($data['type']) && isset($data['parameters']) && is_array($data['parameters']) && count($data['parameters']) > 0) {
                array_push($data['parameters'], ['abc.job.type' => $data['type']]);
                $event->setData($data);
            }
        }
    }
Appends an array element to the parameters of a job that provides information about the job type.

@param PreDeserializeEvent $event