MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / writeString

Function writeString

launcher/Json.cpp:119–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void writeString(QJsonObject& to, const QString& key, const QString& value)
120{
121 if (!value.isEmpty()) {
122 to.insert(key, value);
123 }
124}
125
126void writeStringList(QJsonObject& to, const QString& key, const QStringList& values)
127{

Callers 6

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

Calls 2

insertMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected