-
Notifications
You must be signed in to change notification settings - Fork 653
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
为啥toJSON方法转字典后,并不是自己创建的属性名 #470
Comments
这是正确的 |
我收到啦!!!
|
@wangwanjie |
现在怎么不用Codable |
我也以为是这么玩的, 结果key是原始的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
var wId : String? = ""
override func mapping(mapper: HelpingMapper) {
mapper <<<
self.wId <-- "id"
}
toJSON之后获取的key是“id”而不是wId,这么玩的吗
The text was updated successfully, but these errors were encountered: