// ArduinoJson - https://arduinojson.org // Copyright Benoit Blanchon 2014-2021 // MIT License #pragma once #include "lib/ArduinoJson/Configuration.hpp" #include "lib/ArduinoJson/Polyfills/type_traits.hpp" #if ARDUINOJSON_ENABLE_ARDUINO_STRING #include #endif #if ARDUINOJSON_ENABLE_STD_STRING #include #endif namespace ARDUINOJSON_NAMESPACE { template struct IsWriteableString : false_type {}; #if ARDUINOJSON_ENABLE_ARDUINO_STRING template <> struct IsWriteableString< ::String> : true_type {}; #endif #if ARDUINOJSON_ENABLE_STD_STRING template struct IsWriteableString > : true_type {}; #endif } // namespace ARDUINOJSON_NAMESPACE