mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-20 21:41:02 -04:00
Description:Modifying compilation alarms
Match-id-788e986812623b0d3f468943e7c1d4d76fede43b
This commit is contained in:
@@ -132,7 +132,11 @@ bool IsUint64(const nlohmann::json& jsonObj, const std::string& key)
|
||||
|
||||
std::string GetNodeDesc(std::string parameters)
|
||||
{
|
||||
nlohmann::json parObj = nlohmann::json::parse(parameters);
|
||||
nlohmann::json parObj = nlohmann::json::parse(parameters, nullptr, false);
|
||||
if (parObj.is_discarded()) {
|
||||
DHLOGE("parObj parse failed!");
|
||||
return "";
|
||||
}
|
||||
std::string nodeName = "N/A";
|
||||
std::string physicalPath = "N/A";
|
||||
int32_t classes = -1;
|
||||
|
||||
Reference in New Issue
Block a user