Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
如图,直接这样使用肯定会报错,那么如何自定义重载value函数来使得可以直接使用GameInfo数据类 (看了下序列化那一块,头晕,有无大佬给一个更方便的方法)
GameInfo
序列化直接上注解不就行了吗
import kotlinx.serialization.* @Serializable data class GameInfo(
有人不仔细看注释
感谢