|
ESPHome 2025.12.0-dev
|
Go to the source code of this file.
Namespaces | |
| namespace | esphome |
| Providing packet encoding functions for exchanging data with a remote host. | |
| namespace | esphome::json |
Functions | |
| std::string | esphome::json::build_json (const json_build_t &f) |
| Build a JSON string with the provided json build function. | |
| bool | esphome::json::parse_json (const std::string &data, const json_parse_t &f) |
| Parse a JSON string and run the provided json parse function if it's valid. | |
| JsonDocument | esphome::json::parse_json (const uint8_t *data, size_t len) |
| Parse a JSON string and return the root JsonDocument (or an unbound object on error) | |