Peter Ertl
04/14/2021, 9:39 PM@JvmInline
@Serializable
value class ProductId(val value: Int)
I get a huge stack trace with kotlinx.serialization when trying this
I use:
implementation("org.jetbrains.kotlinx", "kotlinx-serialization-json", "1.1.0")
above code works when using ‘inline class’ but I get a deprecation warning from the compiler that it will be replaced by ‘value class’turansky
04/15/2021, 12:22 AMAlexey Belkov [JB]
04/15/2021, 9:03 AM