iOS Swift - Networking
Given this JSON:
And this struct:
What will be the value of
{"id": 1, "name": "Alice"}And this struct:
struct Person: Codable { var id: Int; var name: String }What will be the value of
person.name after decoding?