SrSouza

    SrSouza

    2 years ago
    Hi folks, there anyway to in a specific property usa other type of StringFormat or set at the data class? I'm trying to do something like this (code in the thread), use Json StringFormat but in a specific data class, use CSV StringFormat. But is getting exception because the compiler overrides the default
    .serializer()
    to this new that I created.
    I currently using this project for CSV https://github.com/brudaswen/kotlinx-serialization-csv. But I think that he uses a old API from Serialization (0.14.0) and I think this could be the problem too.
    s

    sandwwraith

    2 years ago
    Yeah, the old version is a problem – that class got renamed