eclipse-paho / paho.mqtt.golang

Other
2.77k stars 534 forks source link

Publishing dict/tuple to MQTT broker #618

Closed saket-sudo closed 2 years ago

saket-sudo commented 2 years ago

In publish.py it is mentioned in the comment that sending a dict or tuple is possible while publishing to broker. But when I try to send a dict in publish, it is returning with an error that 'dict/tuple' has no attribute 'encode'.

MattBrittan commented 2 years ago

This repo is for the Go Client - I think you want the python one . I would also suggest including your code and the full error when creating an issue.