intsig171 / SmartCodable

SmartCodable is a data parsing library based on Codable. It is simple to use, with robust compatibility being one of its main features. SmartCodable 是基于Codable实现的数据解析库。简单易用,强悍的兼容性是SmartCodable的主要特点。 表层API和功能几乎和HandyJSON一致,支持快速的迁移。
https://smart-codable.vercel.app
MIT License
417 stars 43 forks source link

单一值String,可以直接遵守 SmartCodable 吗? #6

Closed CoderLeoZ closed 10 months ago

CoderLeoZ commented 10 months ago

extension String: SmartCodable {

} 这样会有问题吗?