2

I tried following example to parse a Json String to corresponding object.

  1. The Data is marked with @Serializable

Both functions Json.parse() and Data.serializer() are makred red and thus not recognized.

I tried that with kotlinx-serializable 0.9.1 and 0.10.0, in vain

What did I forget?

Tranquillo
  • 235
  • 2
  • 13

0 Answers0