Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants