MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / write

Function write

launcher/Json.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43namespace Json
44{
45void write(const QJsonDocument &doc, const QString &filename)
46{
47 FS::write(filename, doc.toJson());
48}
49void write(const QJsonObject &object, const QString &filename)
50{
51 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