이런 json object함수들 사용법들 볼수 있어요 ~
Functions |
json_object * | json_object_get (struct json_object *this) |
void | json_object_put (struct json_object *this) |
int | json_object_is_type (struct json_object *this, enum json_type type) |
enum json_type | json_object_get_type (struct json_object *this) |
char * | json_object_to_json_string (struct json_object *this) |
json_object * | json_object_new_object () |
lh_table * | json_object_get_object (struct json_object *this) |
void | json_object_object_add (struct json_object *this, char *key, struct json_object *val) |
json_object * | json_object_object_get (struct json_object *this, char *key) |
void | json_object_object_del (struct json_object *this, char *key) |
json_object * | json_object_new_array () |
array_list * | json_object_get_array (struct json_object *this) |
int | json_object_array_length (struct json_object *this) |
int | json_object_array_add (struct json_object *this, struct json_object *val) |
int | json_object_array_put_idx (struct json_object *this, int idx, struct json_object *val) |
json_object * | json_object_array_get_idx (struct json_object *this, int idx) |
json_object * | json_object_new_boolean (boolean b) |
boolean | json_object_get_boolean (struct json_object *this) |
json_object * | json_object_new_int (int i) |
int | json_object_get_int (struct json_object *this) |
json_object * | json_object_new_double (double d) |
double | json_object_get_double (struct json_object *this) |
json_object * | json_object_new_string (char *s) |
json_object * | json_object_new_string_len (char *s, int len) |
char * | json_object_get_string (struct json_object *this) |
|
링크 !
Link !
Click here