Skip to content
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

大佬,介个解析出来会少字母撒。 #1

Closed
Jinxiansen opened this issue Apr 28, 2017 · 4 comments
Closed

大佬,介个解析出来会少字母撒。 #1

Jinxiansen opened this issue Apr 28, 2017 · 4 comments

Comments

@Jinxiansen
Copy link

t

如图所示,ticketlist 会少了最后的 t 。

@Jinxiansen
Copy link
Author

Jinxiansen commented Apr 28, 2017

{
"result": true,
"resultcode": "shcl",
"resultstring": "",
"oauthtype": "",
"oauthrate": "1",
"ticketlist": [
{
"mainproductid": 483,
"mainproductname": "水蜜桃健身",
"mainproductshortname": "水蜜桃健身",
"goodssalestartdate": "2016/7/19 0:00:00",
"goodssaleenddate": "2017/7/20 0:00:00"
}
]
}

json。

@Jinxiansen Jinxiansen changed the title 解析出来会少字母撒。 大佬,有时候解析出来会少字母撒。 Apr 28, 2017
@Jinxiansen Jinxiansen changed the title 大佬,有时候解析出来会少字母撒。 大佬,介个解析出来会少字母撒。 Apr 28, 2017
@nixzhu
Copy link
Owner

nixzhu commented Apr 28, 2017

这是一个不完美的优化导致的:假设Array对应的Key是复数形式,例如tickets。之后可能会增加选项来避免。

@Jinxiansen
Copy link
Author

好嘞,感谢大佬!
我是看着你的blog长大的。😂

@nixzhu nixzhu closed this as completed May 3, 2017
@457020372
Copy link

软件很好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants