-
Notifications
You must be signed in to change notification settings - Fork 496
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] 不支持的JSONPath,或是语法解析错误? #2401
Comments
经过测试,这与是否将str序列化为JSONObject无关 |
经过测试,JSONPath.eval转为JSONPath.extract依然无法使用
|
经过测试,此为完全JSONPath解析问题,与待解析的jsonString无关 |
目前还不支持,但应该要支持的 |
已暂时改为使用Snack3库,期待fastjson2的更新! |
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.49-SNAPSHOT/ |
wenshao
added a commit
that referenced
this issue
Apr 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
以下是我的JSON数据
我使用的JSONPath为:
$.objects[?(@.aliases[0] == 'DefaultGameProps')].objdata
目的为需要返回objdata此JSONObject
但运行时报错:
环境信息
请填写以下信息:
重现步骤
Kotlin:
期待的正确结果
{"Plants": ["plant1","plant2"]}
The text was updated successfully, but these errors were encountered: