https://twitter.com/kotlin/status/1250808679571623939
With kotlinx.serialization, you no longer need to have parameterless constructors for your data classes. Simply annotate these with @Serializable. If you use Gradle/Maven though, make sure that you apply the corresponding Serialization plugin! #KotlinTips
Twitter