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
Exception in thread "main" com.alibaba.fastjson2.JSONException: error, offset 48, char :
at com.alibaba.fastjson2.JSONReaderUTF16.skipValue(JSONReaderUTF16.java:4551)
at com.alibaba.fastjson2.JSONPathSegmentIndex.accept(JSONPathSegmentIndex.java:486)
at com.alibaba.fastjson2.JSONPathMulti.extract(JSONPathMulti.java:357)
at com.alibaba.fastjson2.JSONPath.extract(JSONPath.java:56)
at com.alibaba.fastjson2.JSONPath.eval(JSONPath.java:66)
at Test.main(Test.java:24)
问题描述
使用 fastjson2中jsonpath.eavl 提取数据时会报错
Exception in thread "main" com.alibaba.fastjson2.JSONException: error, offset 48, char :
at com.alibaba.fastjson2.JSONReaderUTF16.skipValue(JSONReaderUTF16.java:4551)
at com.alibaba.fastjson2.JSONPathSegmentIndex.accept(JSONPathSegmentIndex.java:486)
at com.alibaba.fastjson2.JSONPathMulti.extract(JSONPathMulti.java:357)
at com.alibaba.fastjson2.JSONPath.extract(JSONPath.java:56)
at com.alibaba.fastjson2.JSONPath.eval(JSONPath.java:66)
at Test.main(Test.java:24)
环境信息
请填写以下信息:
重现步骤
如何操作可以重现该问题:
期待的正确结果
对您期望发生的结果进行清晰简洁的描述。
jsonpath 提取不到,应该输出null
相关日志输出
请复制并粘贴任何相关的日志输出。
附加信息
如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。
The text was updated successfully, but these errors were encountered: