Model/PropertyRequest.php
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        if (null !== $this->forfetching) {
            $json['forfetching'] = $this->forfetching;
        }

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

        if (null !== $this->forfetching) {
            $json['forfetching'] = $this->forfetching;
        }

        return $json;
    }
Gets all data that should be available in a json representation.

@return array an associative array of the available variables