SetJsonValue

Function Usage

Assigns a value based on the input key to save data.

Prototype

1
APP_ERROR ConfigData::SetJsonValue(const std::string &key, const std::string &value, int pos = -1);

Parameters

Parameter

Input/Output

Description

key

Input

Keyword

value

Input

Value of a keyword

pos

Input

Int type

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.