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

Function fromMap

launcher/Json.cpp:334–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334QString fromMap(const QVariantMap& map)
335{
336 QJsonObject obj = QJsonObject::fromVariantMap(map);
337 QJsonDocument doc(obj);
338 return QString::fromUtf8(doc.toJson(QJsonDocument::Compact));
339}
340
341} // namespace Json

Callers 4

saveSettingsMethod · 0.85
saveColumnsMethod · 0.85
loadColumnsMethod · 0.85

Calls 1

toJsonMethod · 0.80

Tested by

no test coverage detected