MCPcopy
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
119def parse_json(s):
120 begin = s.find('{')
121 end = s.rfind('}') + 1
122 return json.loads(s[begin:end])
123
124
125def get_tag_value(tag, key='', index=0):

Callers 11

_get_login_resultMethod · 0.90
_get_QRcode_ticketMethod · 0.90
_get_reserve_urlMethod · 0.90
get_user_infoMethod · 0.90
get_single_item_stockMethod · 0.90
get_multi_item_stockMethod · 0.90
get_item_priceMethod · 0.90
_get_seckill_urlMethod · 0.90
submit_seckill_orderMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected