Home
last modified time | relevance | path

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

/base/account/os_account/services/accountmgr/src/
Dohos_account_data_deal.cpp71 jsonData_ = json::parse(fin, nullptr, false); in Init()
73 if (!jsonData_.is_structured()) { in Init()
185 ErrCode ret = ParseJsonFromFile(configFile, jsonData_, userId); in GetAccountInfo()
190 const auto &jsonObjectEnd = jsonData_.end(); in GetAccountInfo()
191 if (jsonData_.find(DATADEAL_JSON_KEY_BIND_TIME) != jsonObjectEnd) { in GetAccountInfo()
192 accountInfo.bindTime_ = jsonData_.at(DATADEAL_JSON_KEY_BIND_TIME).get<std::time_t>(); in GetAccountInfo()
195 if (jsonData_.find(DATADEAL_JSON_KEY_OHOSACCOUNT_NAME) != jsonObjectEnd) { in GetAccountInfo()
196 …accountInfo.ohosAccountInfo_.name_ = jsonData_.at(DATADEAL_JSON_KEY_OHOSACCOUNT_NAME).get<std::str… in GetAccountInfo()
199 if (jsonData_.find(DATADEAL_JSON_KEY_OHOSACCOUNT_RAW_UID) != jsonObjectEnd) { in GetAccountInfo()
200 std::string rawUid = jsonData_.at(DATADEAL_JSON_KEY_OHOSACCOUNT_RAW_UID).get<std::string>(); in GetAccountInfo()
[all …]
/base/account/os_account/services/accountmgr/include/
Dohos_account_data_deal.h42 nlohmann::json jsonData_; variable