Lines Matching refs:JsonUtils
33 bool JsonUtils::LoadJsonValueFromContent(nlohmann::json& jsonValue, const std::string& content)
51 bool JsonUtils::LoadJsonValueFromFile(nlohmann::json& jsonValue, const std::string& filePath)
74 bool JsonUtils::DumpJsonValueToFile(const nlohmann::json& jsonValue, const std::string& filePath)
96 bool JsonUtils::CreateNodeFile(const std::string &filePath)
116 bool JsonUtils::GetInt32FromJsonValue(const nlohmann::json& jsonValue, const std::string& key, int32_t& value)
128 bool JsonUtils::GetBoolFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, bool& value)
140 bool JsonUtils::GetStringFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, std::string& value)
152 bool JsonUtils::GetObjFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value)
164 bool JsonUtils::GetArrayFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value)
176 bool JsonUtils::GetStrArrFromJsonValue(const nlohmann::json& jsonValue, const std::string& key,
180 if (!JsonUtils::GetArrayFromJsonValue(jsonValue, key, strArrayValue)) {
193 bool JsonUtils::GetFileContent(const std::string& filePath, std::string& content)
210 bool JsonUtils::GetRealPath(const std::string& partialPath, std::string& fullPath)
220 std::vector<std::string> JsonUtils::SplitVersion(const std::string& versionStr, char versionDelim)