解决办法:
需要在toBean之前添加配置
String[] dateFormats = new String[] {"yyyy-MM-dd HH:mm:ss"}; JSONUtils.getMorpherRegistry().registerMorpher(new DateMorpher(dateFormats)); Map<String, Class> classMap = new HashMap<String, Class>();
MemberPlayLogs memberPlayLogs = (MemberPlayLogs) JSONObject.toBean(jsonObject, MemberPlayLogs.class,classMap);
源文:http://blog.csdn.net/rnzuozuo/article/details/21992137