Lines Matching defs:record
193 static void pruneRecordExposes(nlohmann::json& record)
195 auto findExposes = record.find("Exposes");
196 if (findExposes == record.end())
214 const std::string& probeName, const nlohmann::json& record)
222 auto nameIt = record.find("Name");
223 if (nameIt == record.end())
282 std::vector<std::string>& matches, const nlohmann::json& record)
284 const auto& name = (record)["Name"].get_ref<const std::string&>();
466 auto record = _em.systemConfiguration.find(recordName);
467 if (record == _em.systemConfiguration.end())
469 record = _em.lastJson.find(recordName);
470 if (record == _em.lastJson.end())
476 pruneRecordExposes(*record);
478 _em.systemConfiguration[recordName] = *record;
485 recordDiscoveredIdentifiers(usedNames, indexes, probeName, *record);
511 lg2::error("Failed to parse record {JSON}", "JSON",
515 nlohmann::json::object_t record = *recordPtr;
521 auto getName = record.find("Name");
522 if (getName == record.end())
541 for (auto& keyPair : record)
558 _em.systemConfiguration[recordName] = record;
560 auto findExpose = record.find("Exposes");
561 if (findExpose == record.end())
588 auto boardType = record.find("Type")->second.get<std::string>();
589 auto boardName = record.find("Name")->second.get<std::string>();
596 _em.systemConfiguration[recordName] = record;