eclipse / paho.mqtt.golang

Other
2.73k stars 533 forks source link

Publishing dict/tuple to MQTT broker #618

Closed saket-sudo closed 1 year ago

saket-sudo commented 1 year 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 1 year 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.