/ohos5.0/base/security/security_guard/services/config_manager/src/ |
H A D | model_cfg_marshalling.cpp | 27 if (jsonObj.find("detectionCategory") == jsonObj.end()) { in from_json() 40 if (jsonObj.find("fieldName") == jsonObj.end() || jsonObj.find("fieldType") == jsonObj.end() || in from_json() 41 jsonObj.find("value") == jsonObj.end()) { in from_json() 57 if (jsonObj.find("eventId") == jsonObj.end() || jsonObj.find("fields") == jsonObj.end() || in from_json() 58 jsonObj.find("fieldsRelation") == jsonObj.end()) { in from_json() 74 if (jsonObj.find("rules") == jsonObj.end() || jsonObj.find("rulesRelation") == jsonObj.end() || in from_json() 75 … jsonObj.find("trueResult") == jsonObj.end() || jsonObj.find("falseResult") == jsonObj.end()) { in from_json() 104 jsonObj = json { in to_json() 161 jsonObj = json { in to_json() 202 jsonObj = json { in to_json() [all …]
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/remote/ |
H A D | json_utils.cpp | 76 bool res = jsonObj.contains(key) && jsonObj[key].is_number_integer() in IsInt32() 77 && INT32_MIN <= jsonObj[key] && jsonObj[key] <= INT32_MAX; in IsInt32() 86 bool res = jsonObj.contains(key) && jsonObj[key].is_string(); in IsString() 95 bool res = jsonObj.contains(key) && jsonObj[key].is_boolean(); in IsBool() 137 json jsonObj; in SetSessionBasicInfo() local 159 sessionInfo = jsonObj.dump(); in SetSessionBasicInfo() 168 …CHECK_AND_RETURN_RET_LOG(jsonObj.contains("compatibility") && jsonObj.contains("data"), AVSESSION_… in GetSessionBasicInfo() 209 json jsonObj; in SetSessionDescriptors() local 225 sessionInfo = jsonObj.dump(); in SetSessionDescriptors() 260 json jsonObj; in SetSessionDescriptor() local [all …]
|
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | json_utils_mock.c | 100 if (jsonObj == NULL) { in DuplicateJson() 109 void FreeJson(CJson *jsonObj) in FreeJson() argument 111 cJSON_Delete(jsonObj); in FreeJson() 128 CJson *curItem = jsonObj->child; in DeleteAllItemExceptOne() 139 void DeleteAllItem(CJson *jsonObj) in DeleteAllItem() argument 141 if (jsonObj == NULL) { in DeleteAllItem() 145 CJson *curItem = jsonObj->child; in DeleteAllItem() 165 if (jsonObj == NULL) { in PackJsonToString() 179 int GetItemNum(const CJson *jsonObj) in GetItemNum() argument 181 if (jsonObj == NULL) { in GetItemNum() [all …]
|
/ohos5.0/base/security/device_auth/common_lib/impl/src/ |
H A D | json_utils.c | 71 if (jsonObj == NULL) { in DuplicateJson() 77 void FreeJson(CJson *jsonObj) in FreeJson() argument 79 cJSON_Delete(jsonObj); in FreeJson() 96 CJson *curItem = jsonObj->child; in DeleteAllItemExceptOne() 107 void DeleteAllItem(CJson *jsonObj) in DeleteAllItem() argument 109 if (jsonObj == NULL) { in DeleteAllItem() 113 CJson *curItem = jsonObj->child; in DeleteAllItem() 133 if (jsonObj == NULL) { in PackJsonToString() 146 int GetItemNum(const CJson *jsonObj) in GetItemNum() argument 148 if (jsonObj == NULL) { in GetItemNum() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_screen/common/src/ |
H A D | dscreen_json_util.cpp | 25 …bool res = jsonObj.contains(key) && jsonObj[key].is_string() && jsonObj[key].size() <= MAX_MESSAGE… in IsString() 34 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT8_MAX; in IsUInt8() 43 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_integer() && jsonObj[key] >= INT32_MIN … in IsInt32() 44 jsonObj[key] <= INT32_MAX; in IsInt32() 53 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT32_MA… in IsUInt32() 62 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_integer() && jsonObj[key] >= INT64_MIN … in IsInt64() 63 jsonObj[key] <= INT64_MAX; in IsInt64() 72 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT64_MA… in IsUInt64() 81 bool res = jsonObj.contains(key) && jsonObj[key].is_number_float(); in IsFloat() 90 bool res = jsonObj.contains(key) && jsonObj[key].is_array(); in IsArray() [all …]
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/ |
H A D | dlp_permission_public_interface.cpp | 34 if (jsonObj.find(versionKey) == jsonObj.end() || !jsonObj.at(versionKey).is_number_integer()) { in checkParams() 37 if (jsonObj.find(infoKey) != jsonObj.end() && jsonObj.at(infoKey).is_array() && in checkParams() 38 !jsonObj.at(infoKey).empty() && jsonObj.at(infoKey).at(0).is_string()) { in checkParams() 76 auto jsonObj = nlohmann::json::parse(generalInfo, nullptr, false); in ParseDlpGeneralInfo() local 77 if (jsonObj.is_discarded() || (!jsonObj.is_object())) { in ParseDlpGeneralInfo() 80 if (checkParams(params, jsonObj, DLP_VERSION, DLP_EXTRA_INFO)) { in ParseDlpGeneralInfo() 81 params.version = jsonObj.at(DLP_VERSION).get<uint32_t>(); in ParseDlpGeneralInfo() 90 …if (jsonObj.find(DLP_OFFLINE_FLAG) != jsonObj.end() && jsonObj.at(DLP_OFFLINE_FLAG).is_boolean()) { in ParseDlpGeneralInfo() 96 …if (jsonObj.find(DLP_CONTACT_ACCOUNT) != jsonObj.end() && jsonObj.at(DLP_CONTACT_ACCOUNT).is_strin… in ParseDlpGeneralInfo() 103 if (jsonObj.find(DLP_HMAC_VALUE) != jsonObj.end() && jsonObj.at(DLP_HMAC_VALUE).is_string()) { in ParseDlpGeneralInfo() [all …]
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | bgtask_config.cpp | 45 nlohmann::json jsonObj; in LoadConfigFile() local 52 ParseTransientTaskExemptedQuatoList(jsonObj); in LoadConfigFile() 53 ParseTransientTaskExemptedQuato(jsonObj); in LoadConfigFile() 59 if (jsonObj.is_null() || jsonObj.empty()) { in ParseTransientTaskExemptedQuatoList() 68 appArray = jsonObj[TRANSIENT_ERR_DELAYED_FROZEN_LIST]; in ParseTransientTaskExemptedQuatoList() 81 if (jsonObj.is_discarded()) { in AddExemptedQuatoData() 85 if (jsonObj.is_null() || jsonObj.empty()) { in AddExemptedQuatoData() 121 if (!jsonObj.contains(CONFIG_JSON_INDEX_TOP) || !jsonObj[CONFIG_JSON_INDEX_TOP].is_object()) { in SetCloudConfigParam() 125 nlohmann::json params = jsonObj[CONFIG_JSON_INDEX_TOP]; in SetCloudConfigParam() 161 if (jsonObj.is_null() || jsonObj.empty()) { in ParseTransientTaskExemptedQuato() [all …]
|
/ohos5.0/base/security/device_auth/common_lib/interfaces/ |
H A D | json_utils.h | 38 CJson *DuplicateJson(const CJson *jsonObj); 39 void FreeJson(CJson *jsonObj); 41 void DeleteItemFromJson(CJson *jsonObj, const char *key); 42 void DeleteAllItemExceptOne(CJson *jsonObj, const char *key); 43 void DeleteAllItem(CJson *jsonObj); 44 CJson *DetachItemFromJson(CJson *jsonObj, const char *key); 47 char *PackJsonToString(const CJson *jsonObj); 50 int GetItemNum(const CJson *jsonObj); 63 CJson *GetObjFromJson(const CJson *jsonObj, const char *key); 97 int32_t AddIntToJson(CJson *jsonObj, const char *key, int value); [all …]
|
/ohos5.0/base/security/security_guard/frameworks/common/json/src/ |
H A D | json_cfg.cpp | 21 JSON_CHECK_HELPER_RETURN_IF_FAILED(jsonObj, key, number, false); in Unmarshal() 22 data = jsonObj.at(key).get<uint64_t>(); in Unmarshal() 28 JSON_CHECK_HELPER_RETURN_IF_FAILED(jsonObj, key, number, false); in Unmarshal() 29 data = jsonObj.at(key).get<int64_t>(); in Unmarshal() 35 JSON_CHECK_HELPER_RETURN_IF_FAILED(jsonObj, key, number, false); in Unmarshal() 36 data = jsonObj.at(key).get<uint32_t>(); in Unmarshal() 43 data = jsonObj.at(key).get<int32_t>(); in Unmarshal() 50 data = jsonObj.at(key).get<std::string>(); in Unmarshal() 57 nlohmann::json arrays = jsonObj.at(key); in Unmarshal() 70 nlohmann::json arrays = jsonObj.at(key); in Unmarshal() [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/report/ |
H A D | json_utils.h | 27 bool IsValid(const nlohmann::json &jsonObj) in IsValid() argument 29 return !(jsonObj.is_discarded() || jsonObj.is_null() || jsonObj.empty()); in IsValid() 38 if (!this->IsValid(jsonObj)) { in Parse() 42 return jsonObj; in Parse() 47 return jsonObj.find(key) != jsonObj.end(); in IsExists() 52 auto iter = jsonObj.find(key); 53 if (iter != jsonObj.end() && iter->is_number()) { 61 auto iter = jsonObj.find(key); 62 if (iter != jsonObj.end()) { 70 auto iter = jsonObj.find(key); in GetArray() [all …]
|
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/ |
H A D | driver_info.cpp | 64 static int32_t checkJsonObj(const cJSON *jsonObj) in checkJsonObj() argument 66 if (cJSON_GetArraySize(jsonObj) == 0) { in checkJsonObj() 70 …if (!IsJsonObjValid(jsonObj, "bus") || !IsJsonObjValid(jsonObj, "vendor") || !IsJsonObjValid(jsonO… in checkJsonObj() 93 cJSON* jsonObj = cJSON_Parse(str.c_str()); in UnSerialize() local 94 if (!jsonObj) { in UnSerialize() 100 int32_t retCode = checkJsonObj(jsonObj); in UnSerialize() 102 cJSON_Delete(jsonObj); in UnSerialize() 110 cJSON_Delete(jsonObj); in UnSerialize() 116 cJSON_Delete(jsonObj); in UnSerialize() 123 cJSON_Delete(jsonObj); in UnSerialize() [all …]
|
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_auth_message_processor.cpp | 128 nlohmann::json jsonObj; variable 166 nlohmann::json jsonObj; variable 193 nlohmann::json jsonObj; variable 232 nlohmann::json jsonObj; variable 256 nlohmann::json jsonObj; variable 277 nlohmann::json jsonObj; variable 278 jsonObj[TAG_REPLY] = 22; 703 nlohmann::json jsonObj; variable 731 nlohmann::json jsonObj; variable 759 nlohmann::json jsonObj; variable [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_input/utils/src/ |
H A D | dinput_utils_tool.cpp | 107 if (jsonObj.is_discarded()) { in SetAnonyId() 115 jsonObj[DESCRIPTOR] = GetAnonyString(jsonObj[DESCRIPTOR]); in SetAnonyId() 140 return jsonObj.dump(); in SetAnonyId() 145 return jsonObj.contains(key) && jsonObj[key].is_boolean(); in IsBoolean() 150 return jsonObj.contains(key) && jsonObj[key].is_string(); in IsString() 155 return jsonObj.contains(key) && jsonObj[key].is_number_integer() && INT32_MIN <= jsonObj[key] && in IsInt32() 161 return jsonObj.contains(key) && jsonObj[key].is_number_integer() && INT64_MIN <= jsonObj[key] && in IsInt64() 167 return jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT16_MAX; in IsUInt16() 172 return jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT32_MAX; in IsUInt32() 177 return jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT64_MAX; in IsUInt64() [all …]
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/ |
H A D | hichain_auth_connector.cpp | 103 nlohmann::json jsonObj; in onRequest() local 157 nlohmann::json jsonObj; in GenerateCredential() local 159 jsonObj["deviceId"] = localUdid; in GenerateCredential() 161 jsonObj["flag"] = 1; in GenerateCredential() 190 nlohmann::json jsonObj; in QueryCredential() local 194 jsonObj["flag"] = 1; in QueryCredential() 221 nlohmann::json jsonObj; in GetCredential() local 225 jsonObj["flag"] = 1; in GetCredential() 253 nlohmann::json jsonObj; in ImportCredential() local 255 jsonObj["deviceId"] = deviceId; in ImportCredential() [all …]
|
H A D | hichain_connector.cpp | 144 nlohmann::json jsonObj; in CreateGroup() local 179 nlohmann::json jsonObj; in IsGroupCreated() local 192 nlohmann::json jsonObj; in IsRedundanceGroup() local 355 nlohmann::json jsonObj; in AddMember() local 494 nlohmann::json jsonObj; in onRequest() local 613 nlohmann::json jsonObj; in DelMemberFromGroup() local 633 nlohmann::json jsonObj; in DeleteGroup() local 653 nlohmann::json jsonObj; in DeleteGroupExt() local 673 nlohmann::json jsonObj; in DeleteGroup() local 687 nlohmann::json jsonObj; in DeleteGroup() local [all …]
|
/ohos5.0/foundation/distributedhardware/device_manager/common/src/ |
H A D | dm_anonymous.cpp | 86 …bool res = jsonObj.contains(key) && jsonObj[key].is_string() && jsonObj[key].size() <= MAX_MESSAGE… in IsString() 95 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_integer() && jsonObj[key] >= INT32_MIN … in IsInt32() 96 jsonObj[key] <= INT32_MAX; in IsInt32() 105 bool res = jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] >= 0 && in IsUint32() 106 jsonObj[key] <= UINT32_MAX; in IsUint32() 115 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_integer() && jsonObj[key] >= INT64_MIN … in IsInt64() 116 jsonObj[key] <= INT64_MAX; in IsInt64() 125 bool res = jsonObj.contains(key) && jsonObj[key].is_array(); in IsArray() 134 bool res = jsonObj.contains(key) && jsonObj[key].is_boolean(); in IsBool() 145 nlohmann::json jsonObj; in ConvertMapToJsonString() local [all …]
|
/ohos5.0/base/security/security_guard/services/config_manager/include/ |
H A D | model_cfg_marshalling.h | 27 void from_json(const nlohmann::json &jsonObj, AppDetectionCfg &config); 28 void from_json(const nlohmann::json &jsonObj, Field &field); 29 void from_json(const nlohmann::json &jsonObj, Rule &rule); 30 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config); 31 void to_json(nlohmann::json &jsonObj, const ModelCfg &modelCfg); 32 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg); 33 void to_json(nlohmann::json &jsonObj, const EventCfg &eventCfg); 34 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg); 35 void to_json(nlohmann::json &jsonObj, const DataMgrCfgSt &dataMgrCfg); 36 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg); [all …]
|
/ohos5.0/base/security/security_guard/test/unittest/config_manager/include/ |
H A D | model_cfg_marshalling.h | 27 void from_json(const nlohmann::json &jsonObj, AppDetectionCfg &config); 28 void from_json(const nlohmann::json &jsonObj, Field &field); 29 void from_json(const nlohmann::json &jsonObj, Rule &rule); 30 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config); 31 void to_json(nlohmann::json &jsonObj, const ModelCfg &modelCfg); 32 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg); 33 void to_json(nlohmann::json &jsonObj, const EventCfg &eventCfg); 34 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg); 35 void to_json(nlohmann::json &jsonObj, const DataMgrCfgSt &dataMgrCfg); 36 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg); [all …]
|
/ohos5.0/base/security/security_guard/test/unittest/config_manager/src/ |
H A D | security_guard_config_manager_test.cpp | 1184 jsonObj["value"] = 0; 1196 jsonObj["value"] = 0; 1208 jsonObj["value"] = 0; 1250 jsonObj["fields"] = 0; 1261 jsonObj["fields"] = 0; 1273 jsonObj["fields"] = 0; 1285 jsonObj["fields"] = 0; 1338 jsonObj["rules"] = 0; 1349 jsonObj["rules"] = 0; 1361 jsonObj["rules"] = 0; [all …]
|
/ohos5.0/base/security/security_guard/frameworks/common/json/include/ |
H A D | json_cfg.h | 34 static bool Unmarshal(uint64_t &data, nlohmann::json jsonObj, std::string key); 35 static bool Unmarshal(int64_t &data, nlohmann::json jsonObj, std::string key); 36 static bool Unmarshal(uint32_t &data, nlohmann::json jsonObj, std::string key); 37 static bool Unmarshal(int32_t &data, nlohmann::json jsonObj, std::string key); 38 static bool Unmarshal(std::string &data, nlohmann::json jsonObj, std::string key); 43 static bool Unmarshal(T &data, nlohmann::json jsonObj, std::string key) in Unmarshal() argument 45 JSON_CHECK_HELPER_RETURN_IF_FAILED(jsonObj, key, object, false); in Unmarshal() 46 data = jsonObj.at(key).get<T>(); in Unmarshal() 51 static bool Unmarshal(std::vector<T> &data, nlohmann::json jsonObj, std::string key) in Unmarshal() argument 53 JSON_CHECK_HELPER_RETURN_IF_FAILED(jsonObj, key, array, false); in Unmarshal() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_input/services/sink/sinkmanager/test/sinkmanagerunittest/ |
H A D | distributed_input_sinkmanager_test.cpp | 206 nlohmann::json jsonObj; variable 207 jsonObj[SOURCE_DEVICE_ID] = srcDevId; 208 jsonObj[SOURCE_WINDOW_ID] = srcWinId; 212 jsonObj[SINK_WINDOW_SHOW_X] = sinkShowX; 230 nlohmann::json jsonObj; variable 231 jsonObj[SOURCE_DEVICE_ID] = srcWinId; 236 jsonObj[SOURCE_DEVICE_ID] = srcDevId; 237 jsonObj[SOURCE_WINDOW_ID] = srcDevId; 242 jsonObj[SOURCE_WINDOW_ID] = srcWinId; 261 jsonObj[SINK_WINDOW_SHOW_X] = srcDevId; [all …]
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
H A D | app_provision.c | 43 cJSON *jsonObj = cJSON_GetObjectItem(root, tag); in GetStringTag() local 44 if ((jsonObj == NULL) || (jsonObj->valuestring == NULL)) { in GetStringTag() 48 int32_t objLen = strlen(jsonObj->valuestring); in GetStringTag() 84 if (jsonObj == NULL) { in GetStringArrayTag() 88 int32_t num = cJSON_GetArraySize(jsonObj); in GetStringArrayTag() 131 if (jsonObj == NULL) { in GetProfValidity() 155 if (jsonObj == NULL) { in GetProfBundleInfo() 191 if (jsonObj == NULL) { in GetProfPermission() 203 if (jsonObj == NULL) { in GetProfDebugInfo() 299 P_NULL_GOTO_WTTH_LOG(jsonObj); in ParseProfile() [all …]
|
/ohos5.0/base/security/security_guard/test/unittest/data_collect/sa/ |
H A D | model_cfg_marshalling.h | 54 void from_json(const nlohmann::json &jsonObj, Field &field) {}; in from_json() argument 55 void from_json(const nlohmann::json &jsonObj, Rule &rule) {}; in from_json() argument 56 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config) {}; in from_json() argument 57 void to_json(nlohmann::json &jsonObj, const ModelCfg &modelCfg) {}; in to_json() argument 58 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg) {}; in from_json() argument 59 void to_json(nlohmann::json &jsonObj, const EventCfg &eventCfg) {}; in to_json() argument 60 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg) {}; in from_json() argument 61 void to_json(nlohmann::json &jsonObj, const DataMgrCfgSt &dataMgrCfg) {}; in to_json() argument 62 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg) {}; in from_json() argument 63 void to_json(nlohmann::json &jsonObj, const SecEvent &eventDataSt) {}; in to_json() argument [all …]
|
/ohos5.0/base/security/security_guard/test/unittest/risk_classify/include/ |
H A D | model_cfg_marshalling.h | 55 void from_json(const nlohmann::json &jsonObj, Field &field) {}; in from_json() argument 56 void from_json(const nlohmann::json &jsonObj, Rule &rule) {}; in from_json() argument 57 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config) {}; in from_json() argument 58 void to_json(nlohmann::json &jsonObj, const ModelCfg &modelCfg) {}; in to_json() argument 59 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg) {}; in from_json() argument 60 void to_json(nlohmann::json &jsonObj, const EventCfg &eventCfg) {}; in to_json() argument 61 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg) {}; in from_json() argument 62 void to_json(nlohmann::json &jsonObj, const DataMgrCfgSt &dataMgrCfg) {}; in to_json() argument 63 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg) {}; in from_json() argument 64 void to_json(nlohmann::json &jsonObj, const SecEvent &eventDataSt) {}; in to_json() argument [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/resource/ |
H A D | testConfigParser.h | 53 nlohmann::json jsonObj; in ParseFromFile4StressTest() local 54 jf >> jsonObj; in ParseFromFile4StressTest() 55 if (jsonObj.is_null() || !jsonObj.is_object()) { in ParseFromFile4StressTest() 59 const auto &jsonObjEnd = jsonObj.end(); in ParseFromFile4StressTest() 60 if (jsonObj.find(STRESS_TEST_AMS_KEY) != jsonObjEnd) { in ParseFromFile4StressTest() 61 jsonObj.at(STRESS_TEST_AMS_KEY).get_to(stlevel.AMSLevel); in ParseFromFile4StressTest() 67 if (jsonObj.find(STRESS_TEST_BMS_KEY) != jsonObjEnd) { in ParseFromFile4StressTest() 68 jsonObj.at(STRESS_TEST_BMS_KEY).get_to(stlevel.BMSLevel); in ParseFromFile4StressTest() 74 if (jsonObj.find(STRESS_TEST_CES_KEY) != jsonObjEnd) { in ParseFromFile4StressTest() 75 jsonObj.at(STRESS_TEST_CES_KEY).get_to(stlevel.CESLevel); in ParseFromFile4StressTest()
|