P Philip Prins Active Member Licensed User Longtime User Nov 6, 2016 #1 Hello How can i send a map as object with serializator ? Thanks in advance
Erel B4X founder Staff member Licensed User Longtime User Nov 7, 2016 #2 B4X: Dim client As MqttClient Dim ser As B4XSerializator Dim m As Map = CreateMap("a": 1, "b": Array(1, 2, 3)) '... client.Publish("topic", ser.ConvertObjectToBytes(m)) Upvote 0
B4X: Dim client As MqttClient Dim ser As B4XSerializator Dim m As Map = CreateMap("a": 1, "b": Array(1, 2, 3)) '... client.Publish("topic", ser.ConvertObjectToBytes(m))