Single object might have multiple types - decoding

后端 未结 0 710
深忆病人
深忆病人 2021-01-28 03:42

I have the following struct, and try to decode the object as follows.

I am using Swift 4.3.

struct Classroom: Codable {
  let teacher: Teacher
  let id: In         


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