MCPcopy Create free account
hub / github.com/YACReader/yacreader / normalizeThemeJson

Function normalizeThemeJson

common/themes/theme_json_utils.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39QJsonObject normalizeThemeJson(const QJsonObject &json)
40{
41 QJsonObject normalized;
42 for (auto it = json.constBegin(); it != json.constEnd(); ++it)
43 normalized.insert(it.key(), normalizeThemeJsonValue(it.value()));
44 return normalized;
45}
46
47QByteArray serializeNormalizedThemeJson(const QJsonObject &json, QJsonDocument::JsonFormat format)
48{

Callers 4

ThemeEditorDialogMethod · 0.85
loadFromFileMethod · 0.85
normalizeThemeJsonValueFunction · 0.85

Calls 2

normalizeThemeJsonValueFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected