![]() |
Diffusion C API 6.12.0
|
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. |
| 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 |