mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Fix addElement()
This commit is contained in:
		| @@ -302,7 +302,7 @@ class VariantData { | |||||||
|   VariantData *addElement(MemoryPool *pool) { |   VariantData *addElement(MemoryPool *pool) { | ||||||
|     if (isNull()) |     if (isNull()) | ||||||
|       toArray(); |       toArray(); | ||||||
|     if (!isArray()) |     if (!isArrayStrict()) | ||||||
|       return 0; |       return 0; | ||||||
|     return _content.asCollection.addElement(pool); |     return _content.asCollection.addElement(pool); | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user