使用FastJson把对象转String,Date时间变成时间戳问题

1:像类型这种转换会产生date变成时间戳问题:java JSONObject.toJSONString(suppliesSiteAlarmDTO)   2:显示正常格式使用的内部函数应为:函数 JSONObject.toJSONStringWithDateFormat(suppliesSiteAlarmDTO, "yyyy-MM-dd HH:mm:ss", SerializerFeature.W
相关文章
相关标签/搜索