def is_jsonable(obj):
    try:
        json.dumps(obj)
        return True
    except (TypeError, OverflowError, ValueError):
        return False
def is_jsonable(obj):
    try:
        json.dumps(obj)
        return True
    except (TypeError, OverflowError, ValueError):
        return False