

def _fetch_remote_json(service_url, params={
    
}, use_http_post=False):
    'Retrieves a JSON object from a URL.'
    (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(request_url, parse_float=Decimal))
    return (request_url, json.load(response, parse_float=Decimal))

dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py _fetch_remote_json/VarMisuse@66/111 `str_response`->`request_url`