You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
JSONPath.extract(str, "$.result[0,2].puid")报异常
java.lang.UnsupportedOperationException
at com.alibaba.fastjson.JSONPath$MultiIndexSegment.extract(JSONPath.java:2694)
at com.alibaba.fastjson.JSONPath.extract(JSONPath.java:179)
at com.alibaba.fastjson.JSONPath.extract(JSONPath.java:698)
at com.alibaba.fastjson.JSONPath.extract(JSONPath.java:704)
{
"result": [
{
"puid": "21025318"
},
{
"puid": "21482682"
},
{
"puid": "21025345"
}
],
"state": 0
}
JSONPath.extract(str, "$.result[0,2].puid")报异常
java.lang.UnsupportedOperationException
at com.alibaba.fastjson.JSONPath$MultiIndexSegment.extract(JSONPath.java:2694)
at com.alibaba.fastjson.JSONPath.extract(JSONPath.java:179)
at com.alibaba.fastjson.JSONPath.extract(JSONPath.java:698)
at com.alibaba.fastjson.JSONPath.extract(JSONPath.java:704)
使用JSONPath.eval(jsonObject, "$.result[0,2].puid") 正常
The text was updated successfully, but these errors were encountered: