// @todo Remove in the release 2.0 with removed the deprecated srings input.
if(!$responseinstanceofResponse){
@trigger_error('Parsing strings is deprecated deprecated in jsonapi_include:8.x-1.7 and is removed from jsonapi_include:8.x-2.0. Pass the full Response object instead. See https://www.drupal.org/project/jsonapi_include/issues/3374410',E_USER_DEPRECATED);
$content=$this->parseJsonContent($response);
returnJson::encode($content);
}
$this->parseJsonContent($response);
return$response;
}
/**
...
...
@@ -202,46 +203,59 @@ class JsonapiParse implements JsonapiParseInterface {
}
/**
* Parse json content.
* Integrates includes into the content of a Response.