Function from_json

Source
pub fn from_json<T: DeserializeOwned>(
    value: impl AsRef<[u8]>,
) -> Result<T, AuthError>