mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
20 lines
521 B
C++
Executable File
20 lines
521 B
C++
Executable File
// ArduinoJson - https://arduinojson.org
|
|
// Copyright © 2014-2024, Benoit BLANCHON
|
|
// MIT License
|
|
|
|
#pragma once
|
|
|
|
#include <ArduinoJson/Object/MemberProxy.hpp>
|
|
#include <ArduinoJson/Variant/JsonVariantConst.hpp>
|
|
|
|
ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE
|
|
|
|
template <typename TVariant>
|
|
struct Reader<TVariant, typename enable_if<IsVariant<TVariant>::value>::type>
|
|
: Reader<char*, void> {
|
|
explicit Reader(const TVariant& x)
|
|
: Reader<char*, void>(x.template as<const char*>()) {}
|
|
};
|
|
|
|
ARDUINOJSON_END_PRIVATE_NAMESPACE
|