MCPcopy Index your code
hub / github.com/PyQt5/PyQt / loadJson

Method loadJson

QTreeView/Lib/qjsonmodel.py:211–212  ·  view source on GitHub ↗
(self, string: str)

Source from the content-addressed store, hash-verified

209 return self.loadJson(f.read().decode(encoding=encoding, errors=errors))
210
211 def loadJson(self, string: str) -> bool:
212 return self.loadData(json.loads(string))
213
214 def loadData(self, data: dict, force: bool = False) -> bool:
215 if isinstance(data, dict):

Callers 1

loadFileMethod · 0.95

Calls 1

loadDataMethod · 0.95

Tested by

no test coverage detected