版本(1.2.54)
//抛异常com.alibaba.fastjson.JSONException: exepct '[', but EOF, pos 0, line 1, column 1
Map<String, Object> map = JSON.parseObject("", new TypeReference<Map<String, Object>>() {});
List list = JSON.parseObject("", new TypeReference() {});
Set set = JSON.parseObject("", new TypeReference() {});
//返回为null
Object object= JSON.parseObject("", new TypeReference() {});
1条答案
按热度按时间gmxoilav1#
能说下你这个建议的理由么?