I am trying to publish a message in JSON via -m with a mosquitto publisher. The problem is that my subscriber receive the JSON message without the “” for every single key… so that the format is not JSON anymore. Any solution?
Publisher
Subscriber
I expect something like {“Location”:14.647291″} etc.
New contributor
Antonio Danglar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.