Lines Matching refs:value
31 * @brief load json value from file
33 * @param jsonValue json value from the file content
40 * @brief load json value from string
42 * @param jsonValue json value from the string
49 * @brief dump json value to file
51 * @param jsonValue json value to be dumped to the file
52 * @param filePath the absolute file path to dump json value
58 * @brief get the 32-bit int from json value object
62 * @param value value of the int object
65 static bool GetInt32FromJsonValue(const nlohmann::json& jsonValue, const std::string& key, int32_t& value);
68 * @brief get the bool from json value object
72 * @param value value of the bool object
75 static bool GetBoolFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, bool& value);
78 * @brief get the string from json value object
82 * @param value value of the string object
85 static bool GetStringFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, std::string& value);
88 * @brief Get the Obj from json value object
92 * @param value c
95 static bool GetObjFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value);
98 * @brief Get the Array from json value object
102 * @param value value of array object
105 static bool GetArrayFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value);
108 * @brief Get the String Array from json value object