public void test_error_2() throws Exception {
String text = "{\"@type\":\"java.util.Date\",\"value\":true}";
Exception error = null;
try {
JSON.parseObject(text, Date.class);
} catch (JSONException ex) {
error = ex;
}
Assert.assertNotNull(error);
}
DateTest_error.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:GitHub
作者:
评论列表
文章目录