Home
last modified time | relevance | path

Searched refs:jsonNotice (Results 1 - 2 of 2) sorted by relevance

/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_json.cpp243 void to_json(nlohmann::json &jsonNotice, const WidgetNotice &notice) in to_json() argument
248 jsonNotice = nlohmann::json({{JSON_WIDGET_CTX_ID, notice.widgetContextId}, in to_json()
257 bool isNumberItem(const nlohmann::json &jsonNotice, const std::string &item) in isNumberItem() argument
259 if (jsonNotice.find(item) != jsonNotice.end() && jsonNotice[item].is_number()) { in isNumberItem()
265 void from_json(const nlohmann::json &jsonNotice, WidgetNotice &notice) in from_json() argument
267 if (isNumberItem(jsonNotice, JSON_WIDGET_CTX_ID)) { in from_json()
268 jsonNotice.at(JSON_WIDGET_CTX_ID).get_to(notice.widgetContextId); in from_json()
270 if (jsonNotice in from_json()
[all...]
/base/useriam/user_auth_framework/services/context/inc/
H A Dwidget_json.h53 void to_json(nlohmann::json &jsonNotice, const WidgetNotice &notice);
54 void from_json(const nlohmann::json &jsonNotice, WidgetNotice &notice);

Completed in 1 milliseconds