Timeline for publish json data to mqtt
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 16, 2019 at 20:03 | vote | accept | rp346 | ||
Nov 16, 2019 at 19:59 | comment | added | romkey |
My comment answered your question - I may have been editing it when you were replying. You can find the answer in the declaration of stringify() injson.h
|
|
Nov 16, 2019 at 19:51 | comment | added | rp346 |
Arduino_JSON has this link github.com/arduino-libraries/Arduino_JSON, not much info here. Most of the example are based on ArduinoJSON .
|
|
Nov 16, 2019 at 19:41 | comment | added | romkey |
@roy - I've given you the steps to do that in the answer. If you want to do it more directly, you're using the Arduino_JSON library. The declaration for the stringily() method is at github.com/arduino-libraries/Arduino_JSON/blob/master/src/… and it only shows a String as a return, so you cannot do it more directly using this library.
|
|
Nov 16, 2019 at 18:54 | comment | added | rp346 |
is it possible to convert json to char* ?
|
|
Nov 16, 2019 at 18:45 | history | answered | romkey | CC BY-SA 4.0 |