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

Function writeString

launcher/Json.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void writeString(QJsonObject &to, const QString &key, const QString &value)
112{
113 if (!value.isEmpty())
114 {
115 to.insert(key, value);
116 }
117}
118
119void writeStringList(QJsonObject &to, const QString &key, const QStringList &values)
120{

Callers 5

currentVersionsMethod · 0.85
latestVersionsMethod · 0.85
SaveNowMethod · 0.85
versionFileToJsonMethod · 0.85

Calls 2

isEmptyMethod · 0.80
insertMethod · 0.80

Tested by

no test coverage detected