double json_get_double(cJSON *inJson, const char *key)
Get double integer value via key from cJSON object.
Definition: json.c:26
long json_get_long(cJSON *inJson, const char *key)
Get long integer value via key from cJSON object.
Definition: json.c:36
void json_set_int(cJSON *inJson, const char *key, int value)
Set integer value via key to existed cJSON object.
Definition: json.c:21
int file_to_json(const char *fname, cJSON **outJson)
Load JSON file to cJSON object.
Definition: json.c:42
char * json_get_char(cJSON *inJson, const char *key)
Get char string via key from cJSON object.
Definition: json.c:11
void json_set_double(cJSON *inJson, const char *key, double value)
Set double integer value via key to existed cJSON object.
Definition: json.c:31
int json_get_int(cJSON *inJson, const char *key)
Get integer value via key from cJSON object.
Definition: json.c:16
int json_to_file(const char *fname, cJSON *inJson)
Save cJSON object to JSON file.
Definition: json.c:71