deserialize

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

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(deserializationStrategy: DeserializationStrategy<P>, it: String, json: Json = Json): KmmResult<JwsSigned<P>>

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.