Ray Chow
Ray Chow
### 问题描述 fastjson2 2.0.51 ```java JSON.parseObject("{\"token\": 2.105465717176397390012604E+1294}"); ``` 报错: Exception in thread "main" com.alibaba.fastjson2.JSONException: too large exp value : 1294 at com.alibaba.fastjson2.JSONReaderUTF8.readNumber0(JSONReaderUTF8.java:5458) at com.alibaba.fastjson2.JSONReader.readNumber(JSONReader.java:1004) at com.alibaba.fastjson2.JSONReader.read(JSONReader.java:2087) at com.alibaba.fastjson2.JSON.parseObject(JSON.java:348) 在 fastjson1...
### 问题描述 fastjson2 2.0.51 ```java final var str = "{\"context\":{\"$ref\":\"@\"}}"; JSON.parseObject(str, Map.class); ``` 报错: Exception in thread "main" com.alibaba.fastjson2.JSONException: reference path invalid : @ at com.alibaba.fastjson2.JSONReader.handleResolveTasks(JSONReader.java:311) at com.alibaba.fastjson2.JSON.parseObject(JSON.java:866) 在 fastjson1...