2017-01-06 21:07:34 +01:00
|
|
|
// Copyright Benoit Blanchon 2014-2017
|
2017-01-03 22:03:50 +01:00
|
|
|
// MIT License
|
|
|
|
//
|
|
|
|
// Arduino JSON library
|
|
|
|
// https://github.com/bblanchon/ArduinoJson
|
|
|
|
// If you like this project, please add a star!
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../Configuration.hpp"
|
|
|
|
|
|
|
|
namespace ArduinoJson {
|
|
|
|
namespace Internals {
|
|
|
|
|
|
|
|
template <typename TString, typename Enable = void>
|
2017-01-15 15:18:59 +01:00
|
|
|
struct StringTraits {};
|
2017-01-03 22:03:50 +01:00
|
|
|
|
|
|
|
template <typename TString>
|
2017-01-15 15:18:59 +01:00
|
|
|
struct StringTraits<const TString, void> : StringTraits<TString> {};
|
2017-01-03 22:03:50 +01:00
|
|
|
|
|
|
|
template <typename TString>
|
2017-01-15 15:18:59 +01:00
|
|
|
struct StringTraits<TString&, void> : StringTraits<TString> {};
|
2017-01-03 22:03:50 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "CharPointer.hpp"
|
|
|
|
|
|
|
|
#if ARDUINOJSON_ENABLE_STD_STRING || ARDUINOJSON_ENABLE_ARDUINO_STRING
|
|
|
|
#include "StdString.hpp"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if ARDUINOJSON_ENABLE_STD_STREAM
|
|
|
|
#include "StdStream.hpp"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if ARDUINOJSON_ENABLE_ARDUINO_STREAM
|
|
|
|
#include "ArduinoStream.hpp"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if ARDUINOJSON_ENABLE_PROGMEM
|
|
|
|
#include "FlashString.hpp"
|
|
|
|
#endif
|