Here is my struct

```
struct Players: Codable {
    let players: [Player]
}

// MARK: - Player
struct Player: Codable {
    let name: String
    let number, gp, gs, min: Double
    let fgm, fga, fg3, fg3A: Double
    let ft, fta, pts, oreb: Double
    let dreb, pf, ast, to: Double
    let stl, blk: Double

}

```

Here is my json

```
 "Players" : {
        [
            {
                "name" : "Player",
                "number" : 0,
                "gp" : 0,
                "gs" : 0,
                "min" : 0,
                "fgm" : 0,
                "fga" : 0,
                "fg3" : 0,
                "fg3a" : 0,
                "ft" : 0,
                "fta" : 0,
                "pts" : 0,
                "oreb" : 0,
                "dreb" : 0,
                "pf" : 0,
                "ast" : 0,
                "to" : 0,
                "stl" : 0,
                "blk" : 0
            },
            {
                "name" : "Player",
                "number" : 0,
                "gp" : 0,
                "gs" : 0,
                "min" : 0,
                "fgm" : 0,
                "fga" : 0,
                "fg3" : 0,
                "fg3a" : 0,
                "ft" : 0,
                "fta" : 0,
                "pts" : 0,
                "oreb" : 0,
                "dreb" : 0,
                "pf" : 0,
                "ast" : 0,
                "to" : 0,
                "stl" : 0,
                "blk" : 0
            }
        ]
    }

```

Here is my code

```
    do {
        let decoded = try JSONDecoder().decode(Players.self, from: data)
        print(decoded)
    } catch {
        print(error)
    }

```

And it keeps returning that I have invalid Json. I am not exactly sure what to about this but any help would be much appreciated.