

def fetch_json(url):
    url = (url or _DEFAULT_URL)
    response = urllib2.urlopen(url)
    content = response.read()
    data = json.loads(content)
    return data

dataset/ETHPy150Open mahmoud/clastic/examples/json_view.py fetch_json/original