Android, Jetpack Compose, Navigation, Type Safety, Kotlin.
Json, ) = object : NavType<T>(isNullableAllowed = isNullableAllowed) { override fun get(bundle: Bundle, key: String) = bundle.getString(key)?.let<String, T>(json::decodeFromString) override fun parseValue(value: String): T = json.decodeFromString(value) override fun serializeAsValue(value: T):