Lines Matching refs:obj

119 extern struct json_object* json_object_get(struct json_object *obj);
129 int json_object_put(struct json_object *obj);
143 extern int json_object_is_type(struct json_object *obj, enum json_type type);
159 extern enum json_type json_object_get_type(struct json_object *obj);
171 extern const char* json_object_to_json_string(struct json_object *obj);
179 extern const char* json_object_to_json_string_ext(struct json_object *obj, int
252 extern struct lh_table* json_object_get_object(struct json_object *obj);
257 extern int json_object_object_length(struct json_object* obj);
275 extern void json_object_object_add(struct json_object* obj, const char *key,
295 …S_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
316 extern json_bool json_object_object_get_ex(struct json_object* obj,
329 extern void json_object_object_del(struct json_object* obj, const char *key);
346 # define json_object_object_foreach(obj,key,val) \ argument
349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \
359 # define json_object_object_foreach(obj,key,val) \ argument
364 for(entry ## key = json_object_get_object(obj)->head; \
378 #define json_object_object_foreachC(obj,iter) \ argument
379 …for(iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k…
392 extern struct array_list* json_object_get_array(struct json_object *obj);
398 extern int json_object_array_length(struct json_object *obj);
419 extern int json_object_array_add(struct json_object *obj,
437 extern int json_object_array_put_idx(struct json_object *obj, int idx,
445 extern struct json_object* json_object_array_get_idx(struct json_object *obj,
467 extern json_bool json_object_get_boolean(struct json_object *obj);
502 extern int32_t json_object_get_int(struct json_object *obj);
517 extern int64_t json_object_get_int64(struct json_object *obj);
574 extern double json_object_get_double(struct json_object *obj);
601 extern const char* json_object_get_string(struct json_object *obj);
611 extern int json_object_get_string_len(struct json_object *obj);