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
对于字符串。""{\"data\":{\"signature\":\"xxx\",\"payment\":{\"to\":\"xxx\",\"from\":\"xxx\",\"fee\":\"200000000\",\"token\":\"1\",\"nonce\":\"0\",\"memo\":\"\",\"amount\":\"0\",\"valid_until\":\"0\"},\"stake_delegation\":null,\"create_token\":null,\"create_token_account\":null,\"mint_tokens\":null}}""
public static void main(String[] args) { String rawTx = "\"{\\\"data\\\":{\\\"signature\\\":\\\"xxx\\\",\\\"payment\\\":{\\\"to\\\":\\\"xxx\\\",\\\"from\\\":\\\"xxx\\\",\\\"fee\\\":\\\"200000000\\\",\\\"token\\\":\\\"1\\\",\\\"nonce\\\":\\\"0\\\",\\\"memo\\\":\\\"\\\",\\\"amount\\\":\\\"0\\\",\\\"valid_until\\\":\\\"0\\\"},\\\"stake_delegation\\\":null,\\\"create_token\\\":null,\\\"create_token_account\\\":null,\\\"mint_tokens\\\":null}}\""; JSONObject signedTx = JSONObject.parseObject(JSONObject.parse(rawTx).toString()); System.err.println(signedTx); }
1.2.83可以正常解析,但是2.0.47报Exception in thread "main" com.alibaba.fastjson2.JSONException: offset 541, character �, line 1, column 541, fastjson-version 2.0.47 错误。这是预期的错误吗?
The text was updated successfully, but these errors were encountered:
improved 1.x compatible, JSONObject support input string, for issue #…
2f8c85f
…2334
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.48-SNAPSHOT/ 问题已修复,请帮忙用2.0.48-SNAPSHOT验证,2.0.48正式版本预计在月末发布
Sorry, something went wrong.
https://github.com/alibaba/fastjson2/releases/tag/2.0.48 请用新版本
No branches or pull requests
对于字符串。""{\"data\":{\"signature\":\"xxx\",\"payment\":{\"to\":\"xxx\",\"from\":\"xxx\",\"fee\":\"200000000\",\"token\":\"1\",\"nonce\":\"0\",\"memo\":\"\",\"amount\":\"0\",\"valid_until\":\"0\"},\"stake_delegation\":null,\"create_token\":null,\"create_token_account\":null,\"mint_tokens\":null}}""
1.2.83可以正常解析,但是2.0.47报Exception in thread "main" com.alibaba.fastjson2.JSONException: offset 541, character �, line 1, column 541, fastjson-version 2.0.47 错误。这是预期的错误吗?
The text was updated successfully, but these errors were encountered: