Get the json for a given path and params.

        :param path: The subpath required
        :type path: str
        :param params: Parameters to filter the json query.
        :type params: Optional[Dict[str, Any]]
        :param base: The Base JIRA URL, defaults to the instance base.
        :type base: Optional[str]

        :rtype: Union[Dict[str, Any], List[Dict[str, str]]]

def _get_json(self,
                  path,
                  params=None,
                  base=JIRA_BASE_URL,
                  ):
        """Get the json for a given path and params.

        :param path: The subpath required
        :type path: str
        :param params: Parameters to filter the json query.
        :type params: Optional[Dict[str, Any]]
        :param base: The Base JIRA URL, defaults to the instance base.
        :type base: Optional[str]

        :rtype: Union[Dict[str, Any], List[Dict[str, str]]]

        """
        url = self._get_url(path, base)
        r = self._session.get(url, params=params)
        try:
            r_json = json_loads(r)
        except ValueError as e:
            logging.error("%s\n%s" % (e, r.text))
            raise e
        return r_json