![]() |
BSB Developer Docs
|
Raw interface with direct cJSON serialization. More...
#include <setting_provider.h>
Data Fields | |
| bool(* | is_valid_callback )(const SettingProviderSetting *setting, const void *value) |
| Returns true if value is valid, NULL skips validation. | |
| bool(* | serialize_callback )(const SettingProviderSetting *setting, const void *value, cJSON *json_node) |
| Convert value directly to cJSON node. | |
| bool(* | deserialize_callback )(const SettingProviderSetting *setting, const cJSON *json_node, void *value) |
| Parse cJSON node to value. | |
| const void * | default_value |
| Pointer to default value. | |
| size_t | default_value_size |
| Size of default value in bytes. | |
Raw interface with direct cJSON serialization.