Skip to content
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

fastjson1.1.52 JSON.parse Exception #784

Closed
littleseven opened this issue Aug 19, 2016 · 2 comments
Closed

fastjson1.1.52 JSON.parse Exception #784

littleseven opened this issue Aug 19, 2016 · 2 comments
Labels

Comments

@littleseven
Copy link

JSON.parse("[{"args":["150","change",{"timeStamp":1471595047319,"value":""},{"attrs":{"value":""}}],"method":"fireEvent"}]");

上面这行代码在fastjson1.1.52 抛异常~在第73个字符

@githublaohu
Copy link

    JSONArray object = JSON.parseArray("[{\"args\":[\"150\",\"change\",{\"timeStamp\":1471595047319,\"value\":\"\"},{\"attrs\":{\"value\":\"\"}}],\"method\":\"fireEvent\"}]");
    System.out.println( object.get(0).toString());

{"args":["150","change",{"timeStamp":1471595047319,"value":""},{"attrs":{"value":""}}],"method":"fireEvent"}

fashjson 版本 。1.2.7

wenshao added a commit that referenced this issue Aug 24, 2016
@wenshao
Copy link
Member

wenshao commented Aug 24, 2016

问题确实存在,在1.1.53.android上也存在,我会尽快解决问题,谢谢反馈

@wenshao wenshao added this to the 1.1.54.android milestone Aug 24, 2016
@wenshao wenshao added bug and removed question labels Aug 24, 2016
wenshao added a commit that referenced this issue Aug 24, 2016
@wenshao wenshao closed this as completed Aug 28, 2016
wenshao added a commit that referenced this issue Jul 17, 2019
asa1997 pushed a commit to Be-Secure/fastjson that referenced this issue Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants