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

[BUG] ClassCastException of JSONArray and JSONObject #2759

Open
Cooper-Zhong opened this issue Jun 30, 2024 · 0 comments
Open

[BUG] ClassCastException of JSONArray and JSONObject #2759

Cooper-Zhong opened this issue Jun 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Cooper-Zhong
Copy link
Contributor

问题描述

#2520, #2534, #2748 如果使用JSONPath.eval 依旧存在问题:
java.lang.ClassCastException: class com.alibaba.fastjson2.JSONArray cannot be cast to class com.alibaba.fastjson.JSONArray
java.lang.ClassCastException: com.alibaba.fastjson2.JSONObject cannot be cast to com.alibaba.fastjson.JSONObject

@Cooper-Zhong Cooper-Zhong added the bug Something isn't working label Jun 30, 2024
Cooper-Zhong added a commit to Cooper-Zhong/fastjson2 that referenced this issue Jun 30, 2024
wenshao pushed a commit that referenced this issue Jun 30, 2024
* fix name for Issue2640 test

* fix fastjson 1.x jsonpath compatible api return fastjson 2 JSONObject and JSONArrary, for #2759
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant