Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mitmproxy/mitmproxy
/ _json_dumps
Method
_json_dumps
mitmproxy/tools/web/app.py:420–421 ·
view source on GitHub ↗
(d)
Source
from the content-addressed store, hash-verified
418
419
@staticmethod
420
def
_json_dumps(d):
421
return
json.dumps(d, ensure_ascii=False).encode(
"utf8"
,
"surrogateescape"
)
422
423
424
class
ClientConnection(WebSocketEventBroadcaster):
Callers
4
broadcast
Method · 0.80
broadcast_flow_reset
Method · 0.80
_broadcast_flow
Method · 0.80
update_filter
Method · 0.80
Calls
2
dumps
Method · 0.80
encode
Method · 0.45
Tested by
no test coverage detected