mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Reduced the size of the pretty JSON serializer
This commit is contained in:
		| @@ -75,11 +75,11 @@ void loop() { | ||||
|   Serial.print(remoteIp); | ||||
|   Serial.print(F(" on port ")); | ||||
|   Serial.println(remotePort); | ||||
|   serializeJson(root, Serial); | ||||
|   serializeJson(doc, Serial); | ||||
|  | ||||
|   // Send UDP packet | ||||
|   udp.beginPacket(remoteIp, remotePort); | ||||
|   serializeJson(root, udp); | ||||
|   serializeJson(doc, udp); | ||||
|   udp.println(); | ||||
|   udp.endPacket(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user