Replies: 1 comment
-
|
如果让用户选择使用JSONDecoder,就等同于系统的Codable了。那SmartCodable就没使用意义了吧。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
今天看到一个库:ReerJSON,作者是基于YYJSON 实现了一个
Swift版本的JSONDecoder。我就在想SmartCodable是否可以考虑把JSONDecoder以接口形式暴露给开发者,供开发者自己选择用什么JSONDecoder(默认使用Foundation SDK中的Decoder)。Beta Was this translation helpful? Give feedback.
All reactions