nRF Connect SDK API 2.8.99
|
int json_common_config_add | ( | cJSON * | parent, |
struct cloud_data_cfg * | data, | ||
const char * | object_label ) |
#include <applications/asset_tracker_v2/src/cloud/cloud_codec/json_common.h>
Encode and add configuration data to the parent object.
[out] | parent | Pointer to object that the encoded data is added to. |
[in] | data | Pointer to data that is to be encoded. |
[in] | object_label | Name of the encoded object. |