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

json解析异常 #30

Closed
juyao opened this issue Jul 16, 2018 · 2 comments
Closed

json解析异常 #30

juyao opened this issue Jul 16, 2018 · 2 comments

Comments

@juyao
Copy link

juyao commented Jul 16, 2018

response.data.toString()后json字符串中的双引号都消失了,导致无法正常json解析

:octocat: From gitme Android

@wendux
Copy link
Contributor

wendux commented Jul 16, 2018

如果返回数据是json(content-type),dio默认会自动将数据转为json,无需再手动转。详情可以参考文档中OptionsResponseType字段。

@wendux
Copy link
Contributor

wendux commented Jul 18, 2018

长时间没反馈,先关闭了,如有问题再重新打开。

:octocat: From gitme Android

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

2 participants