public void test_date() throws Exception { String text = "\"/Date(1242357713797+0800)/\""; Date date = JSON.parseObject(text, Date.class); Assert.assertEquals(date.getTime(), 1242357713797L); Assert.assertEquals(JSONToken.LITERAL_INT, CalendarCodec.instance.getFastMatchToken()); }