Swift - Codable struct with generic Dictionary var?

前端 未结 0 444
生来不讨喜
生来不讨喜 2021-01-27 04:52

I have a Swift struct that looks like this:

struct MyStruct: Codable {

  var id: String
  var name: String
  var createdDate: Date

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