getPayloadAsJsonObject

fun getPayloadAsJsonObject(): KmmResult<JsonObject>(source)

Deprecated

Use jws.getPayload<JsonObject>() instead.

Replace with

import kotlinx.serialization.json.JsonObject
jws.getPayload<JsonObject>()