swift how to initialize a Codable Object – Ios swift
I want to initialize a Codable Object, for example: struct Student: Codable { let name: String? let performance: String? enum CodingKeys: String, CodingKey { case name, performance } init(from decoder: Decoder) { let container = try? decoder.container(keyedBy: CodingKeys.self) name =…