def fetch_json(self, url, prefer_cached=False):
        """
        Retrieves and parses the JSON from a URL

        :param url:
            The URL to download the JSON from

        :param prefer_cached:
            If a cached copy of the JSON is preferred

        :return: A dict or list from the JSON
        """

        repository_json = self.fetch(url, prefer_cached)

        try:
            return json.loads(repository_json.decode('utf-8'))
        except (ValueError):
            error_string = url % u'Error parsing JSON from URL %s.'
            raise ClientException(error_string)
dataset/ETHPy150Open JT5D/Alfred-Popclip-Sublime/Sublime Text 2/Package Control/package_control/clients/json_api_client.py/JSONApiClient.fetch_json/swapped operands of `%`