From 3f9d6e39a9ba809953eeee54085e7691639a310e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 28 Jan 2026 10:51:29 -1000 Subject: [PATCH] add comment here as well --- esphome/components/json/json_util.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/json/json_util.cpp b/esphome/components/json/json_util.cpp index 678ebd64c4c..69f8bfc61a9 100644 --- a/esphome/components/json/json_util.cpp +++ b/esphome/components/json/json_util.cpp @@ -25,6 +25,7 @@ std::string build_json(const json_build_t &f) { } bool parse_json(const std::string &data, const json_parse_t &f) { + // NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks) false positive with ArduinoJson return parse_json(reinterpret_cast(data.c_str()), data.size(), f); }