LoftyKumo

Results 1 comments of LoftyKumo

> fastjson1.x `JSONObject getObject(String key, Class clazz)` ![image](https://user-images.githubusercontent.com/41421622/178222341-d623e558-435d-4d38-a4bc-b6255368b7b2.png) 调试后发现,fastjson并没有解析,直接返回的 ![image](https://user-images.githubusercontent.com/41421622/178220879-c24e497e-dcc4-46a9-a422-3c315042049d.png) 比较引用结果返回true > > fastjson2.x `JSONObject getObject(String key, Class type, JSONReader.Feature... features)` ![image](https://user-images.githubusercontent.com/41421622/178222904-ba8cbd7b-c486-4478-a7b7-38709e0b3b9a.png) ObjectReaderImplList中item的解析问题,item的Type为java.lang.Object,因此没解析出来 ![image](https://user-images.githubusercontent.com/41421622/178223307-31ace8e2-3692-4aee-91e4-cf48553c2a2f.png) > > 综上,建议题主:既然明确List中的元素类型(Map),直接采用这种写法 fastjson2.x下 `List data...