src/Entities/Products/ProductOption.php
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        $json['unlockOptionSets'] = $this->getUnlockOptionSets();
        $json['unlockExtraSets'] = $this->getUnlockExtraSets();
        $json['default'] = $this->isDefault();
        $json['itemsPluFlatMappingEnabled'] = $this->isItemsPluFlatMappingEnabled();

        return $json;
    }
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        $json['unlockOptionSets'] = $this->getUnlockOptionSets();
        $json['unlockExtraSets'] = $this->getUnlockExtraSets();
        $json['default'] = $this->isDefault();
        $json['itemsPluFlatMappingEnabled'] = $this->isItemsPluFlatMappingEnabled();

        return $json;
    }
Specify data which should be serialized to JSON