Searched refs:arrayObj (Results 1 – 2 of 2) sorted by relevance
65 Json::Value arrayObj = json[L1_SEG_STATUS]; in ParseSegStatusCfg() local66 int arrayObjSize = static_cast<int>(arrayObj.size()); in ParseSegStatusCfg()72 string name = arrayObj[i]["namespace"].asString(); in ParseSegStatusCfg()74 cfg.emplace_back(arrayObj[i]["matchKey"].asString()); in ParseSegStatusCfg()75 cfg.emplace_back(arrayObj[i]["desc"].asString()); in ParseSegStatusCfg()
161 cJSON *arrayObj = cJSON_CreateIntArray(array, arrayLen); in AddFieldIntArrayToJson() local162 if (arrayObj == NULL) { in AddFieldIntArrayToJson()165 (void)cJSON_AddItemToObject((cJSON *)handle, field, arrayObj); in AddFieldIntArrayToJson()