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
com.alibaba.fastjson.JSONException: unclosed string : ^Z #273
Comments
使用哪个版本?如何重现?能否提供完整的信息? |
我也复现了,com.alibaba.fastjson.JSONException: unclosed string : ^Z |
复现方法:vi模式按住ctrl,按v z就可以打出来这个字符,搜了下是一个文件结束符,json的字段出现这个字符反解析失败 |
用最新的fastjson 1.2.4仍有这个问题存在 |
能否帮忙提供一个重现问题的testcase,要求java代码 |
我碰到问题时,都是个别客户端传上来的json数据引起的,最后带一个^Z的字符。从日志中复制粘贴出来都是正常的。 |
已经解决,1.2.9 & 1.1.49.android版本中都会修复这个问题。 |
Exception in thread "main" com.alibaba.fastjson.JSONException: unclosed string : A |
用了1.2.9,还是出现问题。 |
1 similar comment
用了1.2.9,还是出现问题。 |
com.alibaba.fastjson.JSONException: unclosed.str 字符串长度为96767,解析时会失败 |
com.alibaba.fastjson.JSONException: unclosed string : ^Z |
com.alibaba.fastjson.JSONException: unclosed string : ^Z
The text was updated successfully, but these errors were encountered: