Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinode/chat
/ to_json
Function
to_json
chatbot/python/chatbot.py:74–75 ·
view source on GitHub ↗
(msg)
Source
from the content-addressed store, hash-verified
72
return
obj
73
74
def
to_json(msg):
75
return
json.dumps(clip_long_string(MessageToDict(msg)))
76
77
# Resolve or reject the future
78
def
exec_future(tid, code, text, params):
Callers
2
client_generate
Function · 0.70
client_message_loop
Function · 0.70
Calls
1
clip_long_string
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…