mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Switched to the new library layout
This commit is contained in:
		| @@ -1,24 +0,0 @@ | |||||||
| // Copyright Benoit Blanchon 2014-2015 |  | ||||||
| // MIT License |  | ||||||
| // |  | ||||||
| // Arduino JSON library |  | ||||||
| // https://github.com/bblanchon/ArduinoJson |  | ||||||
|  |  | ||||||
| #ifdef ARDUINO |  | ||||||
|  |  | ||||||
| // This file is here to help the Arduino IDE find the other files. |  | ||||||
|  |  | ||||||
| #include "src/Arduino/Print.cpp" |  | ||||||
| #include "src/DynamicJsonBuffer.cpp" |  | ||||||
| #include "src/Internals/IndentedPrint.cpp" |  | ||||||
| #include "src/Internals/JsonParser.cpp" |  | ||||||
| #include "src/Internals/List.cpp" |  | ||||||
| #include "src/Internals/Prettyfier.cpp" |  | ||||||
| #include "src/Internals/QuotedString.cpp" |  | ||||||
| #include "src/Internals/StringBuilder.cpp" |  | ||||||
| #include "src/JsonArray.cpp" |  | ||||||
| #include "src/JsonBuffer.cpp" |  | ||||||
| #include "src/JsonObject.cpp" |  | ||||||
| #include "src/JsonVariant.cpp" |  | ||||||
|  |  | ||||||
| #endif |  | ||||||
| @@ -1,13 +0,0 @@ | |||||||
| // Copyright Benoit Blanchon 2014-2015 |  | ||||||
| // MIT License |  | ||||||
| // |  | ||||||
| // Arduino JSON library |  | ||||||
| // https://github.com/bblanchon/ArduinoJson |  | ||||||
|  |  | ||||||
| #ifdef ARDUINO |  | ||||||
|  |  | ||||||
| // This file is here to help the Arduino IDE find the other files. |  | ||||||
|  |  | ||||||
| #include "include/ArduinoJson.h" |  | ||||||
|  |  | ||||||
| #endif |  | ||||||
| @@ -5,7 +5,8 @@ v5.0 (currently under development) | |||||||
| ---- | ---- | ||||||
|  |  | ||||||
| * Added support of `String` class (issue #55, #56, #70, #77) | * Added support of `String` class (issue #55, #56, #70, #77) | ||||||
| * Redesigned `JsonVariant` to leverage converting constructors instead of assignment operators. | * Redesigned `JsonVariant` to leverage converting constructors instead of assignment operators | ||||||
|  | * Switched to new library layout (requires Arduino 1.0.6 or above) | ||||||
|  |  | ||||||
| **BREAKING CHANGES**: | **BREAKING CHANGES**: | ||||||
| - `JsonObject::add()` was renamed to `set()` | - `JsonObject::add()` was renamed to `set()` | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								library.properties
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								library.properties
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | name=ArduinoJson | ||||||
|  | version=5.0.0 | ||||||
|  | author=Benoit Blanchon <blog.benoitblanchon.fr> | ||||||
|  | maintainer=Benoit Blanchon <blog.benoitblanchon.fr> | ||||||
|  | sentence=An efficient and elegant JSON library for Arduino. | ||||||
|  | paragraph=Like this project? Please star it on GitHub! | ||||||
|  | url=https://github.com/bblanchon/ArduinoJson | ||||||
|  | architectures=* | ||||||
| @@ -15,9 +15,8 @@ rm -f $OUTPUT | |||||||
| 	ArduinoJson/examples \ | 	ArduinoJson/examples \ | ||||||
| 	ArduinoJson/include \ | 	ArduinoJson/include \ | ||||||
| 	ArduinoJson/keywords.txt \ | 	ArduinoJson/keywords.txt \ | ||||||
|  | 	ArduinoJson/library.properties \ | ||||||
| 	ArduinoJson/LICENSE.md \ | 	ArduinoJson/LICENSE.md \ | ||||||
| 	ArduinoJson/README.md \ | 	ArduinoJson/README.md \ | ||||||
| 	ArduinoJson/src	\ | 	ArduinoJson/src	\ | ||||||
| 	ArduinoJson/ArduinoJson.h \ |  | ||||||
| 	ArduinoJson/ArduinoJson.cpp	\ |  | ||||||
| 	-x!ArduinoJson/src/CMakeLists.txt | 	-x!ArduinoJson/src/CMakeLists.txt | ||||||
							
								
								
									
										13
									
								
								src/ArduinoJson.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								src/ArduinoJson.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | |||||||
|  | // Copyright Benoit Blanchon 2014-2015 | ||||||
|  | // MIT License | ||||||
|  | // | ||||||
|  | // Arduino JSON library | ||||||
|  | // https://github.com/bblanchon/ArduinoJson | ||||||
|  |  | ||||||
|  | // About this file | ||||||
|  | // --------------- | ||||||
|  | // This file is here to please the Arduino IDE. It must be present in the src/ | ||||||
|  | // for the IDE to find it. Feel free to ignore this file if your working in | ||||||
|  | // another environment | ||||||
|  |  | ||||||
|  | #include "../include/ArduinoJson.h" | ||||||
		Reference in New Issue
	
	Block a user