src/Entities/Products/AbstractProductAddonSet.php
public function jsonSerialize()
    {
        return [
            'id' => $this->getId(),
            'name' => $this->getName(),
            'displayName' => $this->getDisplayName(),
            'description' => $this->getDescription(),
            'enabled' => $this->isEnabled(),
        ];
    }
public function jsonSerialize()
    {
        return [
            'id' => $this->getId(),
            'name' => $this->getName(),
            'displayName' => $this->getDisplayName(),
            'description' => $this->getDescription(),
            'enabled' => $this->isEnabled(),
        ];
    }
Specify data which should be serialized to JSON