JSONPath表达式[=],报错
Open
bug
wontfix
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
在1.2.83版本中可以 2.0.40版本不可以
```
Person person = new Person();
person.setId("1");
person.setAge(10);
Object eval = JSONPath.eval(person, "[age=10]");
System.out.println("eval = " + eval);
```
Contributor guide
Research direction
Start with the JSONPath.eval entry point and reproduce the supplied Java snippet in fastjson2 2.0.40, comparing it with 1.2.83. Trace why the [age=10] expression errors in the newer version; done means the expression evaluates successfully as it did in 1.2.83.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100