Go to the documentation of this file. 1 #ifndef H_JSON_MORE_UTILS
2 #define H_JSON_MORE_UTILS
9 #define jo_new_double json_object_new_double
10 #define jo_new_int json_object_new_int
11 #define jo_new_array json_object_new_array
12 #define jo_new_string json_object_new_string
13 #define jo_new_null() 0
14 #define jo_add json_object_object_add
15 #define jo_del json_object_object_del
16 #define jo_free json_object_put
17 #define jo_get json_object_object_get
18 #define jo_new json_object_new_object
19 #define jo_array_add json_object_array_add
20 #define jo_array_get json_object_array_get_idx
21 #define jo_array_length json_object_array_length
22 #define jo_get_string json_object_get_string
75 #define jo_to_string json_write
void jo_add_int_array(JO parent, const char *name, const int *v, int n)
int jo_read_from_double_array(JO array, double *p, int n, double when_null)
const char * json_write(JO jo)
int jo_read_int(JO parent, const char *name, int *p)
void jo_add_double(JO parent, const char *name, double v)
int json_to_double(JO jo, double *ptr)
void jo_add_int(JO parent, const char *name, int v)
int json_to_int(JO jo, int *ptr)
int jo_read_string(JO parent, const char *name, char *v, size_t max_len)
JO jo_new_double_array(const double *v, int n)
int jo_has_field(JO s, const char *name)
JO jo_new_int_array(const int *v, int n)
int jo_read_double_array(JO parent, const char *name, double *p, int n, double when_null)
JO jo_double_or_null(double d)
JO json_tokener_parse_len(const char *str, int len)
JO json_parse(const char *str)
int jo_read_int_array(JO parent, const char *name, int *p, int n, int when_null)
void jo_add_double_array(JO parent, const char *name, const double *v, int n)
int json_stream_skip(FILE *)
JO json_read_stream(FILE *)
int jo_read_double(JO parent, const char *name, double *p)
void jo_add_string(JO parent, const char *name, const char *v)
csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:33