MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / loads

Function loads

common/devtools/pdl.py:184–187  ·  view source on GitHub ↗
(data: str, file_name: str, map_binary_to_string: bool = False)

Source from the content-addressed store, hash-verified

182
183
184def loads(data: str, file_name: str, map_binary_to_string: bool = False) -> OrderedDict[str, Any] | Any:
185 if file_name.endswith(".pdl"):
186 return parse(data, file_name, map_binary_to_string)
187 return json.loads(data)

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected