Gson转换json串到Map,Key值是String仍是设定值(如Long)?

开发中遇到一个小问题,经常使用的json String转换为java对象的写法以下:html Gson gson = new Gson(); java PublicServiceResponse<Map<Long, List<ActivityAPIBO>>> res = new  PublicServiceResponse<Map<Long, List<ActivityAPIBO>>>(); js
相关文章
相关标签/搜索