mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Added JsonPrintable.prettyPrintTo(Print&)
This commit is contained in:
		| @@ -21,6 +21,9 @@ void setup() | ||||
|     root["data"] = array; | ||||
|  | ||||
|     Serial.print(root); // {"sensor":"gps","time":1351824120,"data":[48.756080,2.302038]} | ||||
|  | ||||
|     Serial.println(); | ||||
|     root.prettyPrintTo(Serial); // same string indented | ||||
| } | ||||
|  | ||||
| void loop() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user