def make_json_request(self, method: str, path: str, json_data: dict=None, params: dict=None) -> dict:
    try:
        response = self.make_request(method=method, path=path, json_data=json_data, params=params)
        if (response.status_code == 204):
            return {}
        json_response = response.json()
        if (json_response.get('Status') == 'Invalid'):
            raise PluginException(cause='IntSights returned an error response: ', assistance=f"{json_response.get('FailedReason')}.")
        return json_response
    except json.decoder.JSONDecodeError as e:
        raise PluginException(preset=PluginException.Preset.INVALID_JSON, data=e)
def make_json_request(self, method: str, path: str, json_data: dict=None, params: dict=None) -> dict:
    try:
        response = self.make_request(method=method, path=path, json_data=json_data, params=params)
        if (response.status_code == 204):
            return {}
        json_response = response.json()
        if (json_response.get('Status') == 'Invalid'):
            raise PluginException(cause='IntSights returned an error response: ', assistance=f"{json_response.get('FailedReason')}.")
        return json_response
    except json.decoder.JSONDecodeError as e:
        raise PluginException(preset=PluginException.Preset.INVALID_JSON, data=e)