protected function processRawResponse($rawResult) {
        $result = json_decode($rawResult, TRUE);

        if(json_last_error() !== JSON_ERROR_NONE) {
            throw new RuntimeException('Malformed JSON response! Message: ' . json_last_error_msg());
        }

        return $result;
    }
protected function processRawResponse($rawResult) {
        $result = json_decode($rawResult, TRUE);

        if(json_last_error() !== JSON_ERROR_NONE) {
            throw new RuntimeException('Malformed JSON response! Message: ' . json_last_error_msg());
        }

        return $result;
    }
protected function processRawResponse ( $ rawResult ) { $ result = json_decode ( $ rawResult , TRUE ) ; if ( json_last_error ( ) !== JSON_ERROR_NONE ) { throw new RuntimeException ( 'Malformed JSON response! Message: ' . json_last_error_msg ( ) ) ; } return $ result ; }
Process the raw JSON response, given from conduit.
Throw an exception when given JSON is malformed

@param $rawResult

@throws \BuildR\Foundation\Exception\RuntimeException

@return mixed
Process the raw JSON response given from conduit . Throw an exception when given JSON is malformed