forked from bblanchon/ArduinoJson
Rename VariantRef to JsonVariant
This commit is contained in:
1 parent
ef8ed28aec
commit
b0730f04f7
19 files changed
+92
-90
No files matched your search
@@ -91,7 +91,7 @@ class Complex {
|
||||
namespace ARDUINOJSON_NAMESPACE {
|
||||
template <>
|
||||
struct Converter<Complex> {
|
||||
static void toJson(const Complex& src, VariantRef dst) {
|
||||
static void toJson(const Complex& src, JsonVariant dst) {
|
||||
dst["real"] = src.real();
|
||||
dst["imag"] = src.imag();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user