MCPcopy
hub / github.com/authlib/authlib / json_b64encode

Function json_b64encode

authlib/common/encoding.py:63–66  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

61
62
63def json_b64encode(text):
64 if isinstance(text, dict):
65 text = json_dumps(text)
66 return urlsafe_b64encode(to_bytes(text))

Calls 3

json_dumpsFunction · 0.85
urlsafe_b64encodeFunction · 0.85
to_bytesFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…