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

Method toJson

QTreeView/Lib/qjsonmodel.py:302–305  ·  view source on GitHub ↗
(self, ensure_ascii=False, indent=None, **kwargs)

Source from the content-addressed store, hash-verified

300 }
301
302 def toJson(self, ensure_ascii=False, indent=None, **kwargs) -> str:
303 return json.dumps(
304 self.toDict(), ensure_ascii=ensure_ascii, indent=indent, **kwargs
305 )

Callers 4

sendMessageMethod · 0.45
doExportMethod · 0.45
doExportMethod · 0.45
getJsonMethod · 0.45

Calls 1

toDictMethod · 0.95

Tested by 2

doExportMethod · 0.36
doExportMethod · 0.36