-
Notifications
You must be signed in to change notification settings - Fork 479
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
[BUG] 字符串与List类型不匹配时转换异常 #2440
Comments
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.50-SNAPSHOT/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
类型不匹配时转换异常
环境信息
请填写以下信息:
重现步骤
如何操作可以重现该问题:
以上代码报错
期待的正确结果
如果类型不匹配,还是能够转换成功,值可以为null,避免报错。
fastjson 1.2.83目前是可以转换成功,lines[0]值为"1,2"
相关日志输出
com.alibaba.fastjson2.JSONException: offset 1, character 1, line 1, column 1, fastjson-version 2.0.48 1,2
The text was updated successfully, but these errors were encountered: