mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Fixed JsonBuffer size calculator
This commit is contained in:
		| @@ -59,7 +59,7 @@ | ||||
|                 elements.push(getExpression(obj[i])) | ||||
|             } | ||||
|         } | ||||
|         if (obj instanceof Object) { | ||||
|         else if (obj instanceof Object) { | ||||
|             elements.push("JSON_OBJECT_SIZE(" + Object.keys(obj).length + ")"); | ||||
|             for (var key in obj) { | ||||
|                 elements.push(getExpression(obj[key])) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user