deep-codable
Encode and decode deeply-nested data into flat Swift objects (by MPLew-is)
json
JSON written in Swift with Stream/Codable support (by swiftstack)
deep-codable | json | |
---|---|---|
2 | 1 | |
100 | 9 | |
- | - | |
3.2 | 5.6 | |
almost 2 years ago | 4 months ago | |
Swift | Swift | |
Apache License 2.0 | The Unlicense |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of deep-codable.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-26.
-
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
json
Posts with mentions or reviews of json.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Im trying to parse a json file of 10,000 elements then filtering. Im doing this on a background thread, but this process takes 20 seconds, but I've been told it should even take a second. Help pls.
Try using a stream based decoder such as https://github.com/tris-code/json so you don’t have to wait until the whole file is read into memory before parsing.
What are some alternatives?
When comparing deep-codable and json you can also consider the following projects:
swift-activity-feed - Stream Swift iOS Activity Feed Components