Lines Matching refs:object
96 extern cJSON *cJSON_GetObjectItem(cJSON *object, const char *string);
121 extern void cJSON_AddItemToObject(cJSON *object, const char *string,
124 cJSON *object, const char *string,
132 extern void cJSON_AddItemReferenceToObject(cJSON *object, const char *string,
138 extern cJSON *cJSON_DetachItemFromObject(cJSON *object, const char *string);
139 extern void cJSON_DeleteItemFromObject(cJSON *object, const char *string);
146 extern void cJSON_ReplaceItemInObject(cJSON *object, const char *string,
166 #define cJSON_AddNullToObject(object, name) \ argument
167 cJSON_AddItemToObject(object, name, cJSON_CreateNull())
168 #define cJSON_AddTrueToObject(object, name) \ argument
169 cJSON_AddItemToObject(object, name, cJSON_CreateTrue())
170 #define cJSON_AddFalseToObject(object, name) \ argument
171 cJSON_AddItemToObject(object, name, cJSON_CreateFalse())
172 #define cJSON_AddBoolToObject(object, name, b) \ argument
173 cJSON_AddItemToObject(object, name, cJSON_CreateBool(b))
174 #define cJSON_AddNumberToObject(object, name, n) \ argument
175 cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
176 #define cJSON_AddStringToObject(object, name, s) \ argument
177 cJSON_AddItemToObject(object, name, cJSON_CreateString(s))
181 #define cJSON_SetIntValue(object, val) \ argument
182 ((object) ? (object)->valueint = (object)->valuedouble = (val) : (val))
183 #define cJSON_SetNumberValue(object, val) \ argument
184 ((object) ? (object)->valueint = (object)->valuedouble = (val) : (val))