TornadIO2 now chooses the type of message to be sent according to the type of the data. string generates simple messages (type 3) while dict and arrays generate JSON messages (type 4). This is generally true except when the string already represent the JSON encoded version of the object.
TornadIO2 should allow the user to override this behavior.
TornadIO2 now chooses the type of message to be sent according to the type of the data.
string
generates simple messages (type 3) whiledict
andarrays
generate JSON messages (type 4). This is generally true except when thestring
already represent the JSON encoded version of the object.TornadIO2 should allow the user to override this behavior.