Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tychxn/jd-assistant
/ parse_json
Function
parse_json
util.py:119–122 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
117
118
119
def
parse_json(s):
120
begin = s.find(
'{'
)
121
end = s.rfind(
'}'
) + 1
122
return
json.loads(s[begin:end])
123
124
125
def
get_tag_value(tag, key=
''
, index=0):
Callers
11
_get_login_result
Method · 0.90
_get_QRcode_ticket
Method · 0.90
_get_reserve_url
Method · 0.90
get_user_info
Method · 0.90
get_single_item_stock
Method · 0.90
get_multi_item_stock
Method · 0.90
get_multi_item_stock_new
Method · 0.90
get_item_price
Method · 0.90
_get_seckill_url
Method · 0.90
_get_seckill_init_info
Method · 0.90
submit_seckill_order
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected