Searched refs:accountInfoJson (Results 1 – 3 of 3) sorted by relevance
312 cJSON *accountInfoJson = cJSON_CreateObject(); in MarshalAccountInfo() local313 if (accountInfoJson == nullptr) { in MarshalAccountInfo()317 cJSON_AddNumberToObject(accountInfoJson, "AccountType", accountInfo_.accountType); in MarshalAccountInfo()322 cJSON_Delete(accountInfoJson); in MarshalAccountInfo()328 cJSON_Delete(accountInfoJson); in MarshalAccountInfo()334 cJSON_AddItemToObject(accountInfoJson, "GroupIdList", groupIdList); in MarshalAccountInfo()340 char *data = cJSON_Print(accountInfoJson); in MarshalAccountInfo()342 cJSON_Delete(accountInfoJson); in MarshalAccountInfo()346 cJSON_Delete(accountInfoJson); in MarshalAccountInfo()393 …if (accountInfoJson == nullptr || !cJSON_IsString(accountInfoJson) || (accountInfoJson->valuestrin… in Unmarshal()[all …]
173 int32_t DlpPermissionSerializer::DeserializeAuthUserInfo(const unordered_json& accountInfoJson, in DeserializeAuthUserInfo() argument177 …if (accountInfoJson.find(RIGHT_INDEX) != accountInfoJson.end() && accountInfoJson.at(RIGHT_INDEX).… in DeserializeAuthUserInfo()178 accountInfoJson.at(RIGHT_INDEX).get_to(rightInfoJson); in DeserializeAuthUserInfo()
45 int32_t DeserializeAuthUserInfo(const unordered_json& accountInfoJson, AuthUserInfo& userInfo);