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
Note the issue only captured on v1.2.37.
Given two strings below:
String strOk = "{\"v\": 111}"; String strBad = "{\"v\":111}";
Note the only difference is there is a whitespace behind : in strOk.
:
strOk
parsing strOk is fine:
Foo ok = JSON.parseObject(strOk, Foo.class);
This will cause the unclosed.str issue:
unclosed.str
Foo bad = JSON.parseObject(strBad, Foo.class);
Screenshot:
The full code to reproduce the issue:
https://gist.github.com/greenlaw110/3d0fc68a569565bdf1c9056ef25ab1fb
The text was updated successfully, but these errors were encountered:
bug fixed for bool parse. for issue #1422
abcbc40
bug fixed, please try the last version. https://github.com/alibaba/fastjson/releases/tag/1.2.38
Sorry, something went wrong.
No branches or pull requests
Note the issue only captured on v1.2.37.
Given two strings below:
Note the only difference is there is a whitespace behind
:
instrOk
.parsing
strOk
is fine:This will cause the
unclosed.str
issue:Screenshot:
The full code to reproduce the issue:
https://gist.github.com/greenlaw110/3d0fc68a569565bdf1c9056ef25ab1fb
The text was updated successfully, but these errors were encountered: