avoid regressing performance of mqtt

This commit is contained in:
J. Nick Koston
2026-01-29 16:55:20 -06:00
parent ca96604582
commit b8017de724
3 changed files with 5 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ static const char *const TAG = "json";
static SpiRamAllocator global_json_allocator;
#endif
std::string build_json(const json_build_t &f) {
SerializationBuffer<> build_json(const json_build_t &f) {
// NOLINTBEGIN(clang-analyzer-cplusplus.NewDeleteLeaks) false positive with ArduinoJson
JsonBuilder builder;
JsonObject root = builder.root();