SetJsonValue
Function Usage
Assigns a value based on the input key to save data.
Prototype
APP_ERROR ConfigData::SetJsonValue(const std::string &key, const std::string &value, int pos = -1);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
key |
Input |
Keyword |
value |
Input |
Value of a keyword |
pos |
Input |
Int type |
Return Parameter Description
Data Structure |
Calculation Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: ConfigData