src/Common/Factory/HttpResponse.php
public function getBody($bIsJSON = true)
    {
        if ($bIsJSON) {
            return json_decode($this->oResponse->getBody());
        } else {
            return (string) $this->oResponse->getBody();
        }
    }
public function getBody($bIsJSON = true)
    {
        if ($bIsJSON) {
            return json_decode($this->oResponse->getBody());
        } else {
            return (string) $this->oResponse->getBody();
        }
    }
public function getBody ( $ bIsJSON = true ) { if ( $ bIsJSON ) { return json_decode ( $ this -> oResponse -> getBody ( ) ) ; } else { return ( string ) $ this -> oResponse -> getBody ( ) ; } }
Return the response's body, optionally parsed as JSON

@param boolean $bIsJSON Whether the body is JSON or not

@return array|\stdClass|string|null
Return the response s body optionally parsed as JSON