I am trying to send a tuple from Python to Java using msgpack
but I do not seem to be able of doing it
This is the code in Python
tuple_data = (12, "ajonjoli", 554)
new_file = open("/tmp/tuple_ser.bin", "wb")
msgpack.pack(tuple_data, new_file)
Whenever I try to unpack it in Java I get an exception (org.msgpack.core.MessageInsufficientBufferException
)
Is this possible at all?
Note: I can make it work with a dictionary in Python and a Map
in Java
Thanks