encodeToByteArray
Extension function to encode a QueueMessage to a ByteArray using the provided Json instance.
Return
The encoded ByteArray.
Parameters
json
The Json instance used for encoding.
Extension function to encode a QueueMessage to a ByteArray using the provided Json instance.
The encoded ByteArray.
The Json instance used for encoding.