41typedef struct any_s any_t;
47typedef struct json_s json_t;
union any_s::value_s value
any_t * creator_add_int(any_t *root, const char *key, int number)
add a number to the any dico
any_t * parse_json_str(char const *str)
parse a char * to any_t
int * get_any_int_array(any_t *array)
parse any_t to a int *
any_t * dico_t_get_any(dico_t *dico, char const *key)
get any_t from a dico_t (cast void * of dico_t value)
any_t * creator_add_float(any_t *root, const char *key, float number)
add a number to the any dico
any_t * creator_add_string(any_t *root, const char *key, const char *string)
add a string to the any dico
enum any_type_e any_type_t
float * get_any_float_array(any_t *array)
parse any_t to a float *
any_t * get_from_any(any_t *any, char const *format,...)
get unlimited nested data
any_t * creator_add_any(any_t *root, const char *key, any_t *any)
add an any_t to the any dico
enum json_status_err_e write_json(any_t *any, char const *path)
write any_t to a json file
char ** get_any_string_array(any_t *array)
parse any_t to a char **
void destroy_any(void *data)
destroy any
any_t * create_empty_json(void)
create an empty any (useful to build a json)
any_t * parse_json_file(char const path[])
parse a json file to any_t
int prety_print(any_t *any, int fd)
print any_t to the file descriptor