mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Removed default capacity of DynamicJsonDocument
				
					
				
			This commit is contained in:
		| @@ -14,7 +14,7 @@ | ||||
| void setup() { | ||||
| #ifdef PROGMEM  // <- check that Flash strings are supported | ||||
|  | ||||
|   DynamicJsonDocument doc; | ||||
|   DynamicJsonDocument doc(1024); | ||||
|  | ||||
|   // You can use a Flash String as your JSON input. | ||||
|   // WARNING: the content of the Flash String will be duplicated in the | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
| #include <ArduinoJson.h> | ||||
|  | ||||
| void setup() { | ||||
|   DynamicJsonDocument doc; | ||||
|   DynamicJsonDocument doc(1024); | ||||
|  | ||||
|   // You can use a String as your JSON input. | ||||
|   // WARNING: the content of the String will be duplicated in the JsonBuffer. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user