def get_json_encoder():
    try:
        from nefertari import engine
        return engine.JSONEncoder
    except __HOLE__:
        from nefertari.renderers import _JSONEncoder
        return _JSONEncoder
dataset/ETHPy150Open ramses-tech/nefertari/nefertari/utils/utils.py/get_json_encoder