To encode a python dictionary or list use json.dumps(data) as show below: data_out=json.dumps(brokers_out) ... send-data-json-mqtt-example.
確定! 回上一頁