16 imagesWidth =
static_cast<uint16_t
>(description.getUnsignedInt(
"imagesWidth"));
17 imagesHeight =
static_cast<uint16_t
>(description.getUnsignedInt(
"imagesHeight"));
19 const auto& jsonTabs = description.getArray(
"tabs");
21 tabs.reserve(jsonTabs.size());
23 for (
const auto& i : jsonTabs)
25 auto& tab =
tabs.emplace_back();
27 if (i.contains(
"tabText", json::utility::variantTypeEnum::jString))
32 if (i.contains(
"tabImagePath", json::utility::variantTypeEnum::jString))
34 tab.pathToImage = i.getString(
"tabImagePath");
37 if (i.contains(
"functionName", json::utility::variantTypeEnum::jString))
39 tab.functionName = i.getString(
"functionName");
40 tab.moduleName = i.getString(
"moduleName");