I need help in creating a struct based on the following json code to parse it successfully : I am new to swift and am encountering problems in parsing a local json file. Every time I try to decode the file, the following error pops up. keyNotFound(CodingKeys(stringValue: "users", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"users\", intValue: nil) (\"users\").", underlyingError: nil)). Can someone please tell me how to structure my struct in order to parse the data?


{
    "Users": [{
        
        "name": "John",
        "username": "john1",
        "id": 1
    },
    {
        
        "name": "Smith",
        "username": "Sm2",
        "id": 2
    },
    {
        
        "name": "Nishanta",
        "username": "nisacharya",
        "id": 3
    }
    ]
}