// ArduinoJson - https://arduinojson.org // Copyright © 2014-2022, Benoit BLANCHON // MIT License #pragma once #include #include namespace ARDUINOJSON_NAMESPACE { template struct Reader, void> : Reader { explicit Reader(const VariantProxy& x) : Reader(x.template as()) {} }; template <> struct Reader : Reader { explicit Reader(VariantRef x) : Reader(x.as()) {} }; template <> struct Reader : Reader { explicit Reader(VariantConstRef x) : Reader(x.as()) {} }; } // namespace ARDUINOJSON_NAMESPACE