mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Fixed error "No such file or directory WString.h" (fixes #1381)
This commit is contained in:
		| @@ -9,6 +9,7 @@ HEAD | |||||||
| * Added `DeserializationError::EmptyInput` which tells if the input was empty | * Added `DeserializationError::EmptyInput` which tells if the input was empty | ||||||
| * Added `DeserializationError::f_str()` which returns a `const __FlashStringHelper*` (issue #846) | * Added `DeserializationError::f_str()` which returns a `const __FlashStringHelper*` (issue #846) | ||||||
| * Fixed `JsonVariant::set((char*)0)` which returned false instead of true (issue #1368) | * Fixed `JsonVariant::set((char*)0)` which returned false instead of true (issue #1368) | ||||||
|  | * Fixed error `No such file or directory #include <WString.h>` (issue #1381) | ||||||
|  |  | ||||||
| v6.16.1 (2020-08-04) | v6.16.1 (2020-08-04) | ||||||
| ------- | ------- | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								extras/tests/Helpers/Arduino.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								extras/tests/Helpers/Arduino.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | // ArduinoJson - arduinojson.org | ||||||
|  | // Copyright Benoit Blanchon 2014-2020 | ||||||
|  | // MIT License | ||||||
|  |  | ||||||
|  | #pragma once | ||||||
|  |  | ||||||
|  | #include "api/Stream.h" | ||||||
|  | #include "api/String.h" | ||||||
| @@ -4,7 +4,7 @@ | |||||||
|  |  | ||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <Stream.h> | #include <Arduino.h> | ||||||
|  |  | ||||||
| namespace ARDUINOJSON_NAMESPACE { | namespace ARDUINOJSON_NAMESPACE { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ | |||||||
|  |  | ||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <WString.h> | #include <Arduino.h> | ||||||
|  |  | ||||||
| namespace ARDUINOJSON_NAMESPACE { | namespace ARDUINOJSON_NAMESPACE { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ | |||||||
|  |  | ||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <WString.h> | #include <Arduino.h> | ||||||
|  |  | ||||||
| #include <ArduinoJson/Polyfills/safe_strcmp.hpp> | #include <ArduinoJson/Polyfills/safe_strcmp.hpp> | ||||||
| #include <ArduinoJson/Strings/IsString.hpp> | #include <ArduinoJson/Strings/IsString.hpp> | ||||||
|   | |||||||
| @@ -8,7 +8,7 @@ | |||||||
| #include <ArduinoJson/Polyfills/type_traits.hpp> | #include <ArduinoJson/Polyfills/type_traits.hpp> | ||||||
|  |  | ||||||
| #if ARDUINOJSON_ENABLE_ARDUINO_STRING | #if ARDUINOJSON_ENABLE_ARDUINO_STRING | ||||||
| #include <WString.h> | #include <Arduino.h> | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #if ARDUINOJSON_ENABLE_STD_STRING | #if ARDUINOJSON_ENABLE_STD_STRING | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user