{"adoption": {"forks": 82, "observed_at": "2026-08-28T04:05:38.323629+00:00", "stars": 1804}, "canonical_url": "https://ross.abutalabs.com/products/bettercodable", "card": {"archived": false, "artifact_type": "library", "description": "Better Codable through Property Wrappers", "domain": ["developer-tools", "apis", "mobile-development"], "enriched": true, "function": ["serialization", "parser"], "health_score": 20, "homepage": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html", "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["marksands/BetterCodable"], "name": "marksands/BetterCodable", "platform": [], "pushed_at": "2023-11-23T14:20:03+00:00", "repo": "marksands/BetterCodable", "stars": 1804, "tags": ["codable", "property-wrappers", "json-decoding", "swift-package-manager", "swift", "ios", "macos"], "topics": ["property-wrappers", "codable", "swift5-1", "swift-package-manager"], "urls": [], "use_cases": ["decode json arrays filtering out null or invalid elements", "provide default values for missing json fields in swift structs", "avoid writing custom init(from decoder:) boilerplate", "tolerate messy api responses with null values", "decode dictionaries while dropping invalid key-value pairs"], "what_it_is": "A Swift library providing property wrappers like @LossyArray, @LossyDictionary, and @DefaultCodable that simplify Codable JSON decoding. It eliminates boilerplate custom Decodable initializers by handling nulls, invalid elements, and default values declaratively.", "when_to_avoid": ["you need strict decoding that fails on any malformed data", "your project targets Swift versions before 5.1", "you need wrappers for formats beyond what the library provides and don't want to write custom strategies"], "when_to_choose": ["your swift app consumes json apis with inconsistent or null data", "you want declarative, wrapper-based Codable customization instead of manual initializers", "you use Swift 5.1+ with Swift Package Manager"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bettercodable", "repo": "marksands/BetterCodable", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:38.323629+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:21:49.572716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0c0b55a6bf2ec611efadc6f22f65bf2f5dc37f258c1558ddcb753809cd0f3352", "fetched_at": "2026-08-28T04:05:38.323629+00:00", "kind": "readme", "missing": false, "url": "https://github.com/marksands/BetterCodable"}, {"content_hash": "9b5afe8a92923a0b689b8118453a0170cdad2d79b50fe93cfb1da562ec144383", "fetched_at": "2026-08-29T11:00:39.397077+00:00", "kind": "homepage", "missing": false, "url": "http://marksands.github.io/2019/10/21/better-codable-through-property-wrappers.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2510, "days_push": 1014, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}