Jeremie D
10/28/2025, 12:30 PMSerializer has not been found for type 'Instant'. To use context serializer as fallback, explicitly annotate type or property with @Contextual , trying to make sure i don't go down an endless rabbit hole
if anyone is using instant and ktor and standard serializable stuff could you share with me your configurations/plugins versions?zsmb
10/28/2025, 12:34 PMkotlin.time.Instant (which was previously in a different package, in kotlinx.datetime)
https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.9.0Jeremie D
10/28/2025, 1:18 PMplugins{
kotlin("plugin.serialization") version "2.2.0"
kotlinxSerializationJson = "1.9.0"
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" }
kotlin = "2.2.21"
but still gives me warnings/errors in the ide, im using Android Studio Narwhal 4 Featurezsmb
10/28/2025, 1:47 PMJeremie D
10/28/2025, 1:48 PMzsmb
10/28/2025, 1:48 PMJeremie D
10/28/2025, 1:49 PMJeremie D
10/28/2025, 1:49 PMzsmb
10/28/2025, 1:52 PM