def import_simplejson():
    try:
        import simplejson as json
    except __HOLE__:
        try:
            import json  # Python 2.6+
        except ImportError:
            try:
                # Google App Engine
                from django.utils import simplejson as json
            except ImportError:
                raise ImportError("Can't load a json library")

    return json
dataset/ETHPy150Open tweepy/tweepy/tweepy/utils.py/import_simplejson