net.sf.json.JSONObject转Bean对象时常见报错问题
错误1:net.sf.json.JSONException: Error while setting property=starttime type class java.lang.String
因为对象里面包含时间类型 Timestamp 或者 Date
解决办法:
JSONUtils.getMorpherRegistry().registerMorpher(new TimestampMorpher(new String[]