jQuery MiniUI

标题: json时间格式转换报错 [打印本页]

作者: sweetboy897    时间: 2013-2-22 17:40:13     标题: json时间格式转换报错

表单修改时用了mini.encode()后json的格式为:
[{"id":"b0171c0f-5064-4975-9f54-ebf28666aca6","loginname":"jan3844@gmail.com","dept_id":"rs","salary":"3400","position":"rs2","educational":"2","school":"浙江理工大学","name":"沈臻妍","gender":"2","age":25,"birthday":"1987-03-17T00:00:00","married":"0","country":"","city":"","remarks":""}],不知为什么时间中间会带一个"T",造成后台json数据调用Decode()时转换时间报错

具体错误为java.text.ParseException: Unparseable date: "position",不知道什么原因?


作者: niko    时间: 2013-2-22 18:05:47

是position字段错误把




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2