def use(module=None, decode=None, encode=None):
    global _decode, _encode, _initialized, _using
    if module is not None:
        if not isinstance(module, util.strbase):
            module = module.__name__
        if module not in ('cjson', 'json', 'simplejson'):
            raise ValueError('Unsupported JSON module %s' % module)
        _using = module
        _initialized = False
    else:
        assert decode is not None and encode is not None
        _using = 'custom'
        _decode = decode
        _encode = encode
        _initialized = True
Set the JSON library that should be used, either by specifying a known
dataset/ETHPy150Open djc/couchdb-python/couchdb/json.py/use