可以试试我这个非常轻量化,简单修改就可以从handyjson过渡,https://github.com/zjam9333/MyJSONable
handyJson 的替代品 https://github.com/intsig171/SmartCodable。 使用Codable复刻了HandyJSON的功能。
@Liyongcong 用 Swift Macro 封装 Codable 应该现在最佳的方案, 可以看看 ReerCodable
Activity
zjam9333 commentedon Aug 9, 2024
可以试试我这个非常轻量化,简单修改就可以从handyjson过渡,https://github.com/zjam9333/MyJSONable
intsig171 commentedon Dec 3, 2024
handyJson 的替代品 https://github.com/intsig171/SmartCodable。 使用Codable复刻了HandyJSON的功能。
vnixx commentedon May 10, 2025
@Liyongcong 用 Swift Macro 封装 Codable 应该现在最佳的方案, 可以看看 ReerCodable