code: public function getDefaultCodec(): Codec
      {
          return $this->factory->createCodec(
              $this->getContainer(),
              $this->encodings->find(MediaTypeInterface::JSON_API_MEDIA_TYPE) ?: Encoding::jsonApi(),
              $this->decodings->find(MediaTypeInterface::JSON_API_MEDIA_TYPE)
          );
      }
docs: Get the default API codec.
  
  @return Codec