code: public function all()
      {
          if (is_array($this->data)) {
              return $this->data;
          }
  
          return $this->data = $this->route->getCodec()->all($this->request);
      }
docs: Get the JSON API document as an array.
  
  @return array