MCPcopy 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
34def parse_json(s):
35 begin = s.find('{')
36 end = s.rfind('}') + 1
37 return json.loads(s[begin:end])

Callers 2

_get_tokenMethod · 0.85
_get_public_keyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected