deserialize

inline fun deserialize(input: String): KmmResult<JwsSigned<ByteArray>>(source)

Deserializes the input, expected to contain a valid JWS (three Base64-URL strings joined by .), into a JwsSigned with ByteArray as the type of the payload.


inline fun <P : Any> deserialize(it: String, json: Json = Json): KmmResult<JwsSigned<P>>(source)

Deserializes the input, expected to contain a valid JWS (three Base64-URL strings joined by .), into a JwsSigned with P as the type of the payload.