Thread
#multiplatform
    f

    Fail

    3 years ago
    UPD: (not KotlinxSerializer) io.ktor.client.features.json.serializer unresolved after update to 1.3.40
    Unresolved reference: serializer
    What changed?
    r

    ribesg

    3 years ago
    Wow maybe a changelog could help amirite
    Did you also update ktor
    And kotlinx.serialization
    f

    Fail

    3 years ago
    I think I have latest version. Ktor latest 1.2.2 on Git. Or not?
    kotlinx serialization is 0.11.1
    r

    ribesg

    3 years ago
    Did you change the way you import
    kotlinx.serialization
    f

    Fail

    3 years ago
    All my imports:
    import io.ktor.client.HttpClient
    import io.ktor.client.features.json.JsonFeature
    problem here:
    import io.ktor.client.features.json.serializer.KotlinxSerializer
    import io.ktor.client.features.logging.DEFAULT
    import io.ktor.client.features.logging.LogLevel
    import io.ktor.client.features.logging.Logger
    import io.ktor.client.features.logging.Logging
    import io.ktor.client.request.get
    import io.ktor.client.request.url
    
    import io.ktor.http.Url
    import kotlinx.coroutines.CoroutineDispatcher
    import kotlinx.coroutines.GlobalScope
    import kotlinx.coroutines.launch
    import kotlinx.serialization.SerialName
    import kotlinx.serialization.Serializable
    import kotlinx.serialization.json.Json
    Yeah. I solved my problem. need to implementation
    implementation "io.ktor:ktor-client-serialization:$ktor_version"