rax_value_to_new_string

rax_string_t rax_value_to_new_string(u_rax_value_t value,
 rax_type_t type_of_the_value,
 char quote_char,
 int pretty);
 

Convert a Rax value to a string. Useful for debugging. The caller must free the string after use. The quote_char character can be used to quote strings. Use '', if you don't want to quote strings. The pretty parameter controls how the values are printed. Use pretty = 1 for output for humans, i.e., error or debugging output. Use pretty = 0 for output for machines, i.e. writing to CSV files or generating SQL queries.