You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to use A.serializer().list to get a list serializer, but this extension is removed after 1.0. And ArrayListSerializer is removed too. Is there a replacement?
@Serializable
data classW(valw:String)
val jsonString ="""[{"w": "1"}, {"w": "2"}]"""// Old method:val obj = json.parse(W.serializer().list, jsonString)
The text was updated successfully, but these errors were encountered:
I used to use
A.serializer().list
to get a list serializer, but this extension is removed after 1.0. AndArrayListSerializer
is removed too. Is there a replacement?Answers in this issue are deprecated: #179
Code:
The text was updated successfully, but these errors were encountered: