src/Client/Commands/Responses/Response.php
protected function decoded()
	{
		if ($this->json === null) {
			/** @var \Guzzle\Http\Message\Header $contentType */
			$contentType = (string)$this->response->getHeader('content-type');
			if ($contentType === 'application/json')
				$this->json = json_decode($this->response->getBody(true));
		}

		return $this->json;
	}
protected function decoded()
	{
		if ($this->json === null) {
			/** @var \Guzzle\Http\Message\Header $contentType */
			$contentType = (string)$this->response->getHeader('content-type');
			if ($contentType === 'application/json')
				$this->json = json_decode($this->response->getBody(true));
		}

		return $this->json;
	}
protected function decoded ( ) { if ( $ this -> json === null ) { /** @var \Guzzle\Http\Message\Header $contentType */ $ contentType = ( string ) $ this -> response -> getHeader ( 'content-type' ) ; if ( $ contentType === 'application/json' ) $ this -> json = json_decode ( $ this -> response -> getBody ( true ) ) ; } return $ this -> json ; }
returns decoded object

@return null|stdClass
returns decoded object