mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Changed ::String to ArduinoJson::String (issue #275)
This commit is contained in:
24
include/ArduinoJson/String.hpp
Normal file
24
include/ArduinoJson/String.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
// Copyright Benoit Blanchon 2014-2016
|
||||
// MIT License
|
||||
//
|
||||
// Arduino JSON library
|
||||
// https://github.com/bblanchon/ArduinoJson
|
||||
// If you like this project, please add a star!
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Configuration.hpp"
|
||||
|
||||
#if ARDUINOJSON_USE_ARDUINO_STRING
|
||||
|
||||
#include <WString.h>
|
||||
|
||||
#else
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace ArduinoJson {
|
||||
typedef std::string String;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user