Lines Matching refs:object
133 size_t json_object_size(const json_t *object);
134 json_t *json_object_get(const json_t *object, const char *key);
135 int json_object_set_new(json_t *object, const char *key, json_t *value);
136 int json_object_set_new_nocheck(json_t *object, const char *key, json_t *value);
137 int json_object_del(json_t *object, const char *key);
138 int json_object_clear(json_t *object);
139 int json_object_update(json_t *object, json_t *other);
140 int json_object_update_existing(json_t *object, json_t *other);
141 int json_object_update_missing(json_t *object, json_t *other);
142 void *json_object_iter(json_t *object);
143 void *json_object_iter_at(json_t *object, const char *key);
145 void *json_object_iter_next(json_t *object, void *iter);
148 int json_object_iter_set_new(json_t *object, void *iter, json_t *value);
150 #define json_object_foreach(object, key, value) \ argument
151 for(key = json_object_iter_key(json_object_iter(object)); \
153 key = json_object_iter_key(json_object_iter_next(object, json_object_key_to_iter(key))))
161 int json_object_set(json_t *object, const char *key, json_t *value) in json_object_set() argument
163 return json_object_set_new(object, key, json_incref(value)); in json_object_set()
167 int json_object_set_nocheck(json_t *object, const char *key, json_t *value) in json_object_set_nocheck() argument
169 return json_object_set_new_nocheck(object, key, json_incref(value)); in json_object_set_nocheck()
173 int json_object_iter_set(json_t *object, void *iter, json_t *value) in json_object_iter_set() argument
175 return json_object_iter_set_new(object, iter, json_incref(value)); in json_object_iter_set()