getObject

inline fun <T : Any> SharedPreferences.getObject(factory: JsonAdapter.Factory, key: String): T?