-
Notifications
You must be signed in to change notification settings - Fork 22
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
获取小程序版本列表信息序列化错误 #15
Labels
bug
Something isn't working
Comments
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
谢谢您的回件,非常抱歉,最近没有注意邮件,字节可能一张截图返回的是String,多张返回的是List<String>
ZeroV
***@***.***
签名由
网易邮箱大师
定制
在2021年7月7日 ***@***.***> 写道:
字节文档里这是个字符串,不过看你贴的错误,字节实际上可能返回的是个数组
我发布了一个4.0.3版本,把这个字段从String改为了List<String>, 你可以试试
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
感谢反馈, 在4.0.5版本已经兼容 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
com.github.yydzxz.open.api.v1.response.code.CodeVersionsResponse.data.latest.screenshot字段在多张应用截图时接口返回的是List,出现序列化错误。
错误信息如下:
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: org.springframework.web.client.RestClientException: Error while extracting response for type [class com.github.yydzxz.open.api.v1.response.code.CodeVersionsResponse] and content type [application/json;charset=utf-8]; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize instance of
java.lang.String
out of START_ARRAY token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance ofjava.lang.String
out of START_ARRAY tokenat [Source: (PushbackInputStream); line: 1, column: 1871] (through reference chain: com.github.yydzxz.open.api.v1.response.code.CodeVersionsResponse["data"]->com.github.yydzxz.open.api.v1.response.code.CodeVersionsResponse$DataObj["latest"]->com.github.yydzxz.open.api.v1.response.code.CodeVersionsResponse$Latest["screenshot"])] with root cause
The text was updated successfully, but these errors were encountered: