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" java.lang.ArrayIndexOutOfBoundsException: 1
at com.alibaba.fastjson2.JSONReaderUTF16.readNumber0(JSONReaderUTF16.java:4591)
at com.alibaba.fastjson2.JSONReader.readNumber(JSONReader.java:1057)
at com.alibaba.fastjson2.reader.ObjectReaderImplObject.readObject(ObjectReaderImplObject.java:277)
at com.alibaba.fastjson2.JSON.parse(JSON.java:79)
at com.test.soft.warn.service.JsonArrayIndexOutDemo.main(JsonArrayIndexOutDemo.java:19)
The text was updated successfully, but these errors were encountered:
问题描述
简要描述您碰到的问题。
特殊字符转对象报下标越界 ArrayIndexOutOfBoundsException: 1
环境信息
重现步骤
// 其他特殊字符也可以
期待的正确结果
代码执行正常通过
相关日志输出
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at com.alibaba.fastjson2.JSONReaderUTF16.readNumber0(JSONReaderUTF16.java:4591)
at com.alibaba.fastjson2.JSONReader.readNumber(JSONReader.java:1057)
at com.alibaba.fastjson2.reader.ObjectReaderImplObject.readObject(ObjectReaderImplObject.java:277)
at com.alibaba.fastjson2.JSON.parse(JSON.java:79)
at com.test.soft.warn.service.JsonArrayIndexOutDemo.main(JsonArrayIndexOutDemo.java:19)
The text was updated successfully, but these errors were encountered: