You are here

interface JsonapiParseInterface in JSON:API Include 8

Interface JsonapiParseInterface.

@package Drupal\jsonapi_include

Hierarchy

Expanded class hierarchy of JsonapiParseInterface

All classes that implement JsonapiParseInterface

1 file declares its use of JsonapiParseInterface
ResponseSubscriber.php in src/EventSubscriber/ResponseSubscriber.php

File

src/JsonapiParseInterface.php, line 10

Namespace

Drupal\jsonapi_include
View source
interface JsonapiParseInterface {

  /**
   * Parse json api.
   *
   * @param string|object $response
   *   The response data from jsonapi.
   *
   * @return mixed
   *   Parse jsonapi data.
   */
  public function parse($response);

}

Members