REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
json.h File Reference
#include <ArduinoJson.h>
Include dependency graph for json.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Macros | |
#define | JSON_CONVERT_SUGAR(type) |
#define | JSON_GET(src, key) |
#define | JSON_GET_AS(src, key, type) |
#define | JSON_SET(target, key) |
Macro Definition Documentation
◆ JSON_CONVERT_SUGAR
#define JSON_CONVERT_SUGAR | ( | type | ) |
Value:
inline void convertFromJson(JsonVariantConst src, type &conf) { conf.fromJson(src.as<JsonObjectConst>()); } \
inline void convertToJson(const type &conf, JsonVariant target) { conf.toJson(target.to<JsonObject>()); }
FLASHMEM void convertToJson(const IPAddress &ip, JsonVariant ipjson)
Definition mac.cpp:74
FLASHMEM void convertFromJson(JsonVariantConst ipjson, IPAddress &ip)
Definition mac.cpp:72
◆ JSON_GET
#define JSON_GET | ( | src, | |
key ) |
Value:
Definition at line 15 of file json.h.
Referenced by net::auth::Gatekeeper::fromJson(), net::StartupConfig::fromJson(), and nvmconfig::VendorOTP::fromJson().
◆ JSON_GET_AS
#define JSON_GET_AS | ( | src, | |
key, | |||
type ) |
Value:
Definition at line 18 of file json.h.
Referenced by net::auth::Gatekeeper::fromJson(), net::StartupConfig::fromJson(), and nvmconfig::VendorOTP::fromJson().
◆ JSON_SET
#define JSON_SET | ( | target, | |
key ) |
Value:
target[#key] = key;
Definition at line 21 of file json.h.
Referenced by net::auth::Gatekeeper::toJson(), net::StartupConfig::toJson(), and nvmconfig::VendorOTP::toJson().