Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ json_loads
Function
json_loads
mypy/util.py:967–970 ·
view source on GitHub ↗
(data: bytes)
Source
from the content-addressed store, hash-verified
965
966
967
def
json_loads(data: bytes) -> Any:
968
if
orjson is not None:
969
return
orjson.loads(data)
970
return
json.loads(data)
971
972
973
_AVAILABLE_THREADS: int | None = None
Callers
7
load_fine_grained_deps
Method · 0.90
read_quickstart_file
Function · 0.90
_load_json_file
Function · 0.90
find_cache_meta
Function · 0.90
test_diff_cache_produces_valid_json
Method · 0.90
apply_diff
Function · 0.90
load
Function · 0.90
Calls
no outgoing calls
Tested by
1
test_diff_cache_produces_valid_json
Method · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…