We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0.16版本字段@JSONField(format = "yyyy-MM-dd HH:mm:ss"),提交的表单字段格式yyyy-MM-dd HH:mm还能提交,2.0.48必须格式要求yyyy-MM-dd HH:mm:ss这种一定要一样了,如果兼容yyyy-MM-dd HH:mm
The text was updated successfully, but these errors were encountered:
@Test public void test() { Bean bean = JSON.parseObject("{\"date\":\"2014-07-14 12:13\"}", Bean.class); assertNotNull(bean.date); assertEquals("{\"date\":\"2014-07-14 12:13:00\"}", JSON.toJSONString(bean)); } public static class Bean { @JSONField(format = "yyyy-MM-dd HH:mm:ss") public Date date; }
问题未重现,请帮忙构造重现问题的testcase
Sorry, something went wrong.
add testcase for issue #2435
686fe3e
No branches or pull requests
2.0.16版本字段@JSONField(format = "yyyy-MM-dd HH:mm:ss"),提交的表单字段格式yyyy-MM-dd HH:mm还能提交,2.0.48必须格式要求yyyy-MM-dd HH:mm:ss这种一定要一样了,如果兼容yyyy-MM-dd HH:mm
The text was updated successfully, but these errors were encountered: