Unclaimed project
Are you a maintainer of SmartCodable? Claim this project to take control of your public changelog and roadmap.
Changelog
SmartCodable is a data parsing library built on Swift’s Codable, designed for simple usage and strong real-world compatibility. It gracefully handles missing fields, default values, and evolving JSON structures. SmartCodable 是基于 Swift Codable 的数据解析库,主打简单易用与真实业务场景下的强兼容性,能够优雅应对不断变化的 JSON 数据。
V4.4.0更新说明
【新增】提供属性包装器 @SmartHexColor,用来修饰UIColor.
【新增】提供属性包装器 @SmartDate,用来修饰Date类型。
【优化】优化CGFloat的实现代码。
【优化】提升解析性能。
【修复】某些场景下未使用初始化值的情况。
【修复】修复[Any] 类型 encode 时,transformer.toJSON不调用问题。
【删除】删除SmartColor类型,减少自创的类型。