decodeFromString

Extension function to decode a String to a QueueMessage using the provided Json instance.

Return

The decoded QueueMessage.

Parameters

json

The Json instance used for decoding.

Throws

if the String is null.