How to serialize a class implementing a interface with gson?

后端 未结 0 467
隐瞒了意图╮
隐瞒了意图╮ 2021-01-29 09:34

There is a interface A:

interface A {
    val name: String
}

Also there is one class B implementing this interface:

class B() : A          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题