Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/microsoft/playwright-python
/ is_json_parsable
Function
is_json_parsable
playwright/_impl/_fetch.py:600–607 ·
view source on GitHub ↗
(value: Any)
Source
from the content-addressed store, hash-verified
598
599
600
def
is_json_parsable(value: Any) -> bool:
601
if
not isinstance(value, str):
602
return
False
603
try
:
604
json.loads(value)
605
return
True
606
except
json.JSONDecodeError:
607
return
False
Callers
1
_inner_fetch
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected