Results 3 comments of apython

我这边也是,就返回一个 [],其他什么都没

`void initHotkey() { // 参数KEY_1表示改组热键组合的标识,第二个参数表示组合键,如果没有则为0,该热键对应ctrl+alt+I JIntellitype.getInstance().registerHotKey(KEY_1, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT, (int) '-'); JIntellitype.getInstance().registerHotKey(KEY_2, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT, (int) 'L'); JIntellitype.getInstance().registerHotKey(KEY_3, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT, (int) ','); JIntellitype.getInstance().addHotKeyListener(this); }` If I write ctrl +...

> 能否提供下简单示例? 老哥,找到问题了。fastjson1的时候,能自动解析首字母大写的key,我也没配置过。到了fastjson2各种问题都出来了,首字母大写的key全是null。特殊字符的key,getter 和 setter方法也得添加@JSONField名称映射,否则也全是null。fastjson1只需要在对象上添加@JSONField名称映射就能获取的。不过问题已经解决,也就不说什么了。我谈下解决方式吧。 ```java String jsonBean = "{\"answer_count\":0,\"comment_count\":891,\"counters\":[{\"Count\":2084394,\"Name\":\"展现\"},{\"Count\":223516,\"Name\":\"阅读\"},{\"Count\":891,\"Name\":\"评论\"},{\"Count\":2902,\"Name\":\"点赞\"}],\"digg_count\":2902,\"go_detail_count\":223516,\"impression_count\":2084394,\"play_count\":0,\"repin_count\":0}"; // Feature.DisableFieldSmartMatch JSON.config(JSONReader.Feature.SupportSmartMatch); Result result = JSON.parseObject(jsonBean, Result.class); Result.Counters counters = result.getCounters().get(0); System.out.println("name:" + counters.getName()); System.out.println("name:" + counters.getCount()); ``` ```java...