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

JSONPath.contains(obj, searchPath)深度超过8后报数组越界 #726

Closed
baijian opened this issue Jul 14, 2016 · 0 comments
Closed

JSONPath.contains(obj, searchPath)深度超过8后报数组越界 #726

baijian opened this issue Jul 14, 2016 · 0 comments
Milestone

Comments

@baijian
Copy link

baijian commented Jul 14, 2016

String a = "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":{\"f\":{\"g\":{\"h\":{\"i\":{\"j\":{\"k\":{\"l\":\"\"}}}}}}}}}}}}";
        Object x = JSON.parse(a);
        System.out.println(JSONPath.contains(x, "$.a.b.c.d.e.f.g.h.i"));

会报数组越界错误

@wenshao wenshao added this to the 1.2.14 milestone Jul 14, 2016
wenshao added a commit that referenced this issue Jul 14, 2016
@wenshao wenshao closed this as completed Jul 14, 2016
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
None yet
Projects
None yet
Development

No branches or pull requests

2 participants