retrieve
Reads and deserializes the value stored under key into type T.
Return
The deserialized value, or null if the key is absent or deserialization fails.
Parameters
T
The expected type to deserialize the stored JSON into.
context
The Android context used to access encrypted storage.
key
The storage key to look up.