identity_jose::jwu

Function decode_b64_json

Source
pub fn decode_b64_json<T>(data: impl AsRef<[u8]>) -> Result<T>
Expand description

Decode the given url-safe base64-encoded slice into its raw bytes and try to deserialize it into T.