How to use serializeJson with client? #73
piranha771
started this conversation in
General
Replies: 1 comment 1 reply
-
Since EthernetClient extends from Print, it should work. Can you come up with a small example and also show me the compile error you’re seeing? (I don’t know what you mean by “not recognized.”) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use ArduinoJson's
serializeJson(doc, client);
Unfortunately QNEthenet's client is not recognized as a valid output stream despite it basically implements
Print
.Is there a way to call this? I don't want to make a C-string buffer just because I don't know how to cast it, to make this work.
Additional Info: https://arduinojson.org/v7/tutorial/serialization/ Page 110
Beta Was this translation helpful? Give feedback.
All reactions