I tried following example to parse a Json String to corresponding object.
- 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?