![]() |
Diffusion C API 6.11.5
|
JSON datatype associated functions. More...
Functions | |
bool | to_diffusion_json_string (const DIFFUSION_VALUE_T *value, char **json_string, DIFFUSION_API_ERROR *error) |
Get a stringified representation of the JSON diffusion value. | |
bool | write_diffusion_json_value (const char *json, const BUF_T *buf) |
Write a JSON value into a BUF_T for an update. | |
JSON datatype associated functions.
bool to_diffusion_json_string | ( | const DIFFUSION_VALUE_T * | value, |
char ** | json_string, | ||
DIFFUSION_API_ERROR * | error | ||
) |
Get a stringified representation of the JSON diffusion value.
value | the diffusion value |
json_string | pointer to a pointer where the stringified JSON data will be stored |
error | error populated if an error occurs. Can be NULL. |
json_string
pointer value is set to a pointer containing the stringified representation of the JSON diffusion value. False otherwise. bool write_diffusion_json_value | ( | const char * | json, |
const BUF_T * | buf | ||
) |
Write a JSON value into a BUF_T
for an update.
json | value to be written into the BUF_T |
buf | BUF_T to write the JSON value into |