Home
last modified time | relevance | path

Searched refs:JSON_AUTH_TYPE (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_json.cpp44 const std::string JSON_AUTH_TYPE = "type"; variable
81 jsonPayload[JSON_AUTH_TYPE] = cmd.type; in GetJsonPayload()
119 {JSON_AUTH_TYPE, command.typeList}, in GetJsonCmd()
229 auto type = nlohmann::json({{JSON_AUTH_TYPE, notice.typeList}, in to_json()
272 if (jsonNotice[JSON_AUTH_PAYLOAD].find(JSON_AUTH_TYPE) != jsonNotice[JSON_AUTH_PAYLOAD].end() && in from_json()
273 jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].is_array()) { in from_json()
274 … for (size_t index = 0; index < jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].size(); index++) { in from_json()
275 if (!jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].at(index).is_string()) { in from_json()
279 …notice.typeList.emplace_back(jsonNotice[JSON_AUTH_PAYLOAD][JSON_AUTH_TYPE].at(index).get<std::stri… in from_json()