Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kr1s77/awesome-python-login-model
/ parse_json
Function
parse_json
baidu/util.py:34–37 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
32
33
34
def
parse_json(s):
35
begin = s.find(
'{'
)
36
end = s.rfind(
'}'
) + 1
37
return
json.loads(s[begin:end])
Callers
2
_get_token
Method · 0.85
_get_public_key
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected