decodeSessionPayload

suspend fun decodeSessionPayload(payload: String): String(source)

Reverses encodeSessionPayload, passing plain JSON through untouched.

Payloads written before compression was introduced are plain JSON objects, so anything starting with { is returned as-is rather than being treated as base64.