MCPcopy Create free account
hub / github.com/MultiMC/Launcher / write

Function write

launcher/Json.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace Json
11{
12void write(const QJsonDocument &doc, const QString &filename)
13{
14 FS::write(filename, doc.toJson());
15}
16void write(const QJsonObject &object, const QString &filename)
17{
18 write(QJsonDocument(object), filename);

Callers 8

saveGroupListMethod · 0.70
saveMethod · 0.50
saveFileMethod · 0.50
SaveNowMethod · 0.50
serializeServerDatFunction · 0.50
writeThemeJsonFunction · 0.50
CustomThemeMethod · 0.50
savePackIgnoreMethod · 0.50

Calls 1

toJsonMethod · 0.80

Tested by

no test coverage detected