Use this tag only for questions directly pertaining to the Swift Decodable protocol introduced in Swift 4.
Questions tagged [decodable]
678 questions
-3
votes
1 answer
Swift: Decode JSON into Int/Double
I have read about every stackoverflow question on this I can find, but sadly none of the solutions worked for me.
The goal is to convert a JSON file with the following example…

Sam
- 51
- 1
- 7
-4
votes
1 answer
Reading json in Swift
I need help to read json in ios swift. I know i can use decodable but this is an exemple of my json. When i try xith decodable, i always get a nil variable.
Thnaks for your help
[
{
"name": "Bob",
"age": "16",
"employed":…

Alberto
- 1
- 1
-4
votes
1 answer
How to parse JSON array in array Swift?
I'm trying to parse JSON which is like below:
"price": [
[
1539283140000,
6288.07
],
[
1539283440000,
6285.82
],
[
…