mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	This commit is contained in:
		| @@ -44,8 +44,8 @@ void setup() { | ||||
|   // It's also possible to create the array separately and add it to the | ||||
|   // JsonObject but it's less efficient. | ||||
|   JsonArray& data = root.createNestedArray("data"); | ||||
|   data.add(double_with_n_digits(48.756080, 6)); | ||||
|   data.add(double_with_n_digits(2.302038, 6)); | ||||
|   data.add(48.756080); | ||||
|   data.add(2.302038); | ||||
|  | ||||
|   root.printTo(Serial); | ||||
|   // This prints: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user