We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用httpclient请求接口total字段有有值,使用 retrofit返回字段total 不能反序列化(使用版本2.4.1)
The text was updated successfully, but these errors were encountered:
total字段可以正常反序列化。你这边可以通过指定@Logging(logStrategy = LogStrategy.BODY)打印响应报文看看是否有问题,
@Logging(logStrategy = LogStrategy.BODY)
Sorry, something went wrong.
retrofit 底层默认使用的 jackson进行反序列化,看你用httpclient是用的fastjson看下是不是这个差异导致的
No branches or pull requests
使用httpclient请求接口total字段有有值,使用 retrofit返回字段total 不能反序列化(使用版本2.4.1)
The text was updated successfully, but these errors were encountered: