7 #define ARDUINOJSON_ENABLE_STD_STRING 1 // NOLINT 9 #define ARDUINOJSON_USE_LONG_LONG 1 // NOLINT 11 #include <ArduinoJson.h> bool 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.
std::function< void(JsonObject)> json_build_t
Callback function typedef for building JsonObjects.
std::function< bool(JsonObject)> json_parse_t
Callback function typedef for parsing JsonObjects.
std::string build_json(const json_build_t &f)
Build a JSON string with the provided json build function.
Implementation of SPI Controller mode.