python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Trouble Decoding JSON Data with Swift
Trying to get a little practice in decoding JSON data, and I am having a problem. I know the URL is valid, but for some reason my decoder keeps throwing an error. Below is my model struct, the JSON ob...

Cory B. Cromer
Votes: 0
Answers: 1
Custom JSON Decoder
Json:
let json = """
[{
"name":"abc"
"id":"abc123"
"university":"CMU"
},
{
"name":"xyz"
...
Saumya
Votes: 0
Answers: 3
How do I decode my HTTP Get request with a JSON body in Swift 5?
I'm trying to get data from a response. On the RapidAPI page, I tried the GET requests, and also in the app I get a response. But it will not decode the JSON to my Decodable protocol. I've done it bef...
dexap
Votes: 0
Answers: 1