Searched refs:jsonArr (Results 1 – 2 of 2) sorted by relevance
160 CJson *GetItemFromArray(const CJson *jsonArr, int index) in GetItemFromArray() argument162 if (jsonArr == NULL) { in GetItemFromArray()165 return cJSON_GetArrayItem(jsonArr, index); in GetItemFromArray()335 int32_t AddObjToArray(CJson *jsonArr, CJson *item) in AddObjToArray() argument337 if (jsonArr == NULL || item == NULL) { in AddObjToArray()341 if (cJSON_IsArray(jsonArr) == false) { in AddObjToArray()345 bool ret = cJSON_AddItemToArray(jsonArr, item); in AddObjToArray()353 int32_t AddStringToArray(CJson *jsonArr, const char *string) in AddStringToArray() argument355 if (jsonArr == NULL || string == NULL) { in AddStringToArray()359 if (cJSON_IsArray(jsonArr) == false) { in AddStringToArray()[all …]
70 CJson *GetItemFromArray(const CJson *jsonArr, int index);90 int32_t AddObjToArray(CJson *jsonArr, CJson *item);92 int32_t AddStringToArray(CJson *jsonArr, const char *string);