src/Http/Requests/ValidatedRequest.php
public function all()
    {
        if (is_array($this->data)) {
            return $this->data;
        }

        return $this->data = $this->route->getCodec()->all($this->request);
    }
public function all()
    {
        if (is_array($this->data)) {
            return $this->data;
        }

        return $this->data = $this->route->getCodec()->all($this->request);
    }
Get the JSON API document as an array.

@return array