Nikky
11/02/2018, 10:42 AMJSON.stringify(something)
for now i solved it like this
data class Something(
    val someProperty: String
) {
    @Serializer(forClass=Something::class)
    companion object
}
JSON.parse(Something, string)
is there a better way than adding companion objects to everything ?sandwwraith
11/02/2018, 11:43 AMJSON.parse(Something.serializer(), string) working for you?
Underlying mechanisms for implicit serializers were not changed, experimental annotation was added to emphasise consequences of theirs usageNikky
11/02/2018, 11:59 AMsandwwraith
11/02/2018, 12:01 PM@UseExperimentalNikky
11/02/2018, 12:01 PM@Serializable automaticallz adds Serializer to the companion object if it does not existsandwwraith
11/02/2018, 12:02 PM@Serializable adds a companion object and function .serializer() on it to retrieve serializerNikky
11/02/2018, 12:02 PMNikky
11/02/2018, 12:03 PM