Lines Matching refs:jsonObj
34 TimerType getType(const json& jsonObj) in getType() argument
36 if (!jsonObj.contains("type")) in getType()
39 entry("JSON=%s", jsonObj.dump().c_str())); in getType()
42 auto type = jsonObj["type"].get<std::string>(); in getType()
61 std::chrono::microseconds getInterval(const json& jsonObj) in getInterval() argument
63 if (!jsonObj.contains("interval")) in getInterval()
66 entry("JSON=%s", jsonObj.dump().c_str())); in getInterval()
70 jsonObj["interval"].get<uint64_t>()); in getInterval()
73 bool getPreload(const json& jsonObj) in getPreload() argument
75 if (jsonObj.contains("preload_groups") && in getPreload()
76 jsonObj["preload_groups"].get<bool>()) in getPreload()
84 const json& jsonObj, const std::string& /*eventName*/, in triggerTimer() argument
88 auto type = getType(jsonObj); in triggerTimer()
89 auto interval = getInterval(jsonObj); in triggerTimer()
90 auto preload = getPreload(jsonObj); in triggerTimer()