Updated Bag of Tricks (markdown)

Benoît Blanchon
2016-12-19 15:19:11 +01:00
parent 6321382d7f
commit 77419d562b

@@ -250,7 +250,7 @@ See issue [#206](https://github.com/bblanchon/ArduinoJson/issues/206).
## Render to ESP8266 WiFiClient
When used on [ESP8266 Arduino](https://github.com/esp8266/Arduino), there is currently not a direct way to render the JSON to WiFiClient, since it does not implement required Print interface.
This utility class serves as bridge between Print and WiFiClient classes. Internal buffer is required, otherwise rendering will take several seconds (every byte will be sent as separate packet). Increase buffer for faster send, if you have spare memory.
This utility class serves as an adapter between `Print` and `WiFiClient` classes. Internal buffer is required, otherwise rendering will take several seconds (every byte will be sent as a separate packet). Increase buffer for faster send, if you have spare memory.
Create this as separate header file `WiFiClientPrint.h` or just include class in your program.