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
com.alibaba.fastjson2.JSONValidException: error, offset 51, char :
at com.alibaba.fastjson2.JSONReader.error(JSONReader.java:4544)
at com.alibaba.fastjson2.JSONReaderUTF16.skipValue(JSONReaderUTF16.java:3726)
at com.alibaba.fastjson2.JSONPathSegmentIndex.accept(JSONPathSegmentIndex.java:489)
at com.alibaba.fastjson2.JSONPathMulti.extract(JSONPathMulti.java:402)
at com.alibaba.fastjson2.JSONPath.extract(JSONPath.java:56)
at com.alibaba.fastjson2.JSONPath.eval(JSONPath.java:66)
at Issue1965_757_2.testMutant2(Issue1965_757_2.java:39)
The text was updated successfully, but these errors were encountered:
问题描述
JSONPath.eval 两个不同字符串时抛exception,以下代码在fastjson 1.2.83中均通过,感觉是个问题
环境信息
重现步骤
相关日志输出
com.alibaba.fastjson2.JSONValidException: error, offset 51, char :
at com.alibaba.fastjson2.JSONReader.error(JSONReader.java:4544)
at com.alibaba.fastjson2.JSONReaderUTF16.skipValue(JSONReaderUTF16.java:3726)
at com.alibaba.fastjson2.JSONPathSegmentIndex.accept(JSONPathSegmentIndex.java:489)
at com.alibaba.fastjson2.JSONPathMulti.extract(JSONPathMulti.java:402)
at com.alibaba.fastjson2.JSONPath.extract(JSONPath.java:56)
at com.alibaba.fastjson2.JSONPath.eval(JSONPath.java:66)
at Issue1965_757_2.testMutant2(Issue1965_757_2.java:39)
The text was updated successfully, but these errors were encountered: