mirror of
https://github.com/openharmony/tools_previewer.git
synced 2026-07-19 14:23:32 -04:00
add util part 2 and mofify warns
Signed-off-by: libenyao <libenyao@h-partners.com>
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ Json::Value JsonReader::ParseJsonData(const string jsonStr)
|
||||
ELOG("JsonReader: CharReader get null.");
|
||||
return val;
|
||||
}
|
||||
string message;
|
||||
string message; // NOLINT
|
||||
if (!reader->parse(jsonStr.data(), jsonStr.data() + jsonStr.size(), &val, &message)) {
|
||||
ELOG("JsonReader: Failed to parse the json data, errors: %s", message.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user