摘要: Json与JavaBean互相转换时,Bean中的Timestamp字段是无法直接处理的,需要实现两个转换器。DateJsonValueProcessor的作用是Bean转换为Json时将Timepstamp转换为指定的时间格式。 1 import java.text.DateFormat; 2 i... 阅读全文
posted @ 2015-02-14 09:58 RyanChan 阅读(9616) 评论(0) 推荐(0) 编辑