With JSONDecoder in Swift 4, can missing keys use a default value instead of having to be optional properties? June 29, 2022 by Tarik With JSONDecoder in Swift 4, can missing keys use a default value instead of having to be optional properties?