I tried to generated a Parcelable data class, it has some minor issue with the annotiation
@SuppressLint("ParcelCreator")
@Parcelize
@JsonClass(generateAdapter = true)
data class Data(
@Json(name = "id")
val id: String = "",
@Json(name = "metrics")
val metrics: Metrics = Metrics(),
@Json(name = "name")
val name: String = "",
@Json(name = "symbol")
val symbol: String = ""
) : Parcelable
@SuppressLint is no longer needed while @parcelize uses deprecated annotation from kotlinx.android.parcel instead of kotlinx.parcelize
I tried to generated a Parcelable data class, it has some minor issue with the annotiation
@SuppressLint is no longer needed while @parcelize uses deprecated annotation from
kotlinx.android.parcelinstead ofkotlinx.parcelize