JSONCodable
JSONCodable copied to clipboard
Hassle-free JSON encoding and decoding in Swift
When i try to update my project to swift 5.0. I cant build with carthage with error: `SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'JSONCodable...
This PR upgrades the project to be in line with Xcode 9.1 and Swift 4.
I have this code for os x simple app, but it does not work: ``` import Cocoa struct GeoFolderData { var nomeCartella:String var nomeCommittente:String? var dataCreazioneCartella:NSDate var dataModificaCartella:NSDate var isActive:Bool...
Hi , characters.count method is deprecated since xcode 9.1 please fix them and use just "count" .
I've bumped into a problem while using xcode9. Error I was getting was: > 'JSONDecoder' is ambiguous for type lookup in this context The only way to fix this is...
`JSONDecoder` is now a part of Foundation on iOS 11 and there is no way to use `JSONDecoder` anymore because there are now two of them. I have a code...
Perhaps I'm missing something, but it doesn't seem like multi-dimensional arrays are supported with the JSONEncodable protocol. For example, this test fails: ``` class TwoDimensionalArrayClass: JSONEncodable { var array2D: [[String]]?...
## Support for SPM * Changes file structure to support SPM * Adds Package file * Adds 2 new Travis targets (SPM on Mac and Linux) * Removes usage of...