|
ESPHome 2026.3.0-dev
|
Builder class for creating JSON documents without lambdas. More...
#include <json_util.h>
Public Member Functions | |
| JsonObject | root () |
| SerializationBuffer | serialize () |
| Serialize the JSON document to a SerializationBuffer (stack-first allocation) Uses 512-byte stack buffer by default, falls back to heap for larger JSON. | |
Builder class for creating JSON documents without lambdas.
Definition at line 170 of file json_util.h.
|
inline |
Definition at line 172 of file json_util.h.
| SerializationBuffer esphome::json::JsonBuilder::serialize | ( | ) |
Serialize the JSON document to a SerializationBuffer (stack-first allocation) Uses 512-byte stack buffer by default, falls back to heap for larger JSON.
Definition at line 69 of file json_util.cpp.