def _fetch_remote_json(service_url, params={}, use_http_post=False):
    request_url, response = _fetch_remote(service_url, params, use_http_post)
    if six.PY3:
        str_response = response.readall().decode('utf-8')
        return (request_url, json.loads(str_response, parse_float=Decimal))
    return (request_url, json.load(response, parse_float=Decimal))
Retrieves a JSON object from a URL.
dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py/_fetch_remote_json