-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问怎么自定义解析Date类型? #4
Comments
可以配置的,你的 JSON 数据是什么样的呢? |
Date(timeIntervalSinceNow: 1512217128) 默认是用这个方法解析时间戳转成 Date 的。 |
我这边JSON数据里面其实是没有 |
|
多谢,我再研究研究! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
上面的代码没有生效,看源码里面解析的时候用的是
self.options.dateDecodingStrategy
,这个在库外面可以配置吗?The text was updated successfully, but these errors were encountered: