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:
		| @@ -79,7 +79,7 @@ void loop() { | ||||
|   } | ||||
|  | ||||
|   Serial.print(F("Sending: ")); | ||||
|   serializeJson(root, Serial); | ||||
|   serializeJson(doc, Serial); | ||||
|   Serial.println(); | ||||
|  | ||||
|   // Write response headers | ||||
| @@ -89,7 +89,7 @@ void loop() { | ||||
|   client.println(); | ||||
|  | ||||
|   // Write JSON document | ||||
|   serializeJsonPretty(root, client); | ||||
|   serializeJsonPretty(doc, client); | ||||
|  | ||||
|   // Disconnect | ||||
|   client.stop(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user