def patch_json():
    try:
        import ujson  # noqa
    except __HOLE__:
        # ujson is not available, we won't patch anything
        return
    patch_module('json', ['dumps', 'loads'])
dataset/ETHPy150Open ziirish/burp-ui/burpui/_compat.py/patch_json