deep-codable
MoreCodable
deep-codable | MoreCodable | |
---|---|---|
2 | - | |
100 | 380 | |
- | - | |
3.2 | 4.4 | |
almost 2 years ago | 5 months ago | |
Swift | Swift | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
deep-codable
-
DeepCodable: Encode and decode deeply-nested data into flat Swift objects
I recently built DeepCodable, a package to encode and decode arbitrarily-nested data into flat Swift structs, by defining the coding paths with a result builder. I personally have been wanting something like this for a long time when interacting with third-party APIs, so I decided to build it.
-
Creating a struct for an API call (JSON)
You might also want to take a look at MPLew-is’s DeepCodable here: https://github.com/MPLew-is/deep-codable
MoreCodable
We haven't tracked posts mentioning MoreCodable yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
ObjectMapper - Simple JSON Object mapping written in Swift
Gloss - [Deprecated] A shiny JSON parsing library in Swift :sparkles: Loved by many from 2015-2021
mapper - A JSON deserialization library for Swift
JSONModel - Magical Data Modeling Framework for JSON - allows rapid creation of smart data models. You can use it in your iOS, macOS, watchOS and tvOS apps.
TouchJSON - A humane JSON Objective-C un-framework. (TouchJSON has been deprecated - see README)
JASON - Fast JSON parsing for Swift
SwiftyJSONAccelerator - macOS app to generate Swift 5 code for models from JSON (with Codeable)
Himotoki - A type-safe JSON decoding library purely written in Swift
CodableCSV - Read and write CSV files row-by-row or through Swift's Codable interface.
Freddy
SwiftyJSON - The better way to deal with JSON data in Swift.
Decodable - [Probably deprecated] Swift 2/3 JSON unmarshalling done (more) right