12 std::string
getConfigErr(
const std::vector<std::string> &path);
14 Json::Value
getConfigData(Json::Value root,
const std::vector<std::string> &path,
bool optional =
false);
16 std::string
getConfigDataAsString(
const Json::Value &root,
const std::vector<std::string> &path,
bool optional =
false,
17 std::string value = {});
19 uint32_t
getConfigDataAsUInt(
const Json::Value &root,
const std::vector<std::string> &path,
bool optional =
false,
24 bool getConfigDataAsBoolean(
const Json::Value &root,
const std::vector<std::string> &path,
bool optional =
false,
Definition: config_utils.hpp:7
uint32_t getConfigDataAsUInt(const Json::Value &root, const std::vector< std::string > &path, bool optional=false, uint32_t value=0)
Definition: config_utils.cpp:47
bool getConfigDataAsBoolean(const Json::Value &root, const std::vector< std::string > &path, bool optional=false, bool value=false)
Definition: config_utils.cpp:72
Json::Value getConfigData(Json::Value root, const std::vector< std::string > &path, bool optional=false)
Definition: config_utils.cpp:20
Json::Value getJsonFromFileOrString(const Json::Value &value)
Definition: config_utils.cpp:88
std::string getConfigDataAsString(const Json::Value &root, const std::vector< std::string > &path, bool optional=false, std::string value={})
Definition: config_utils.cpp:30
uint64_t getConfigDataAsUInt64(const Json::Value &root, const std::vector< std::string > &path)
Definition: config_utils.cpp:64
std::string getConfigErr(const std::vector< std::string > &path)
Definition: config_utils.cpp:13