public void test_codec() throws Exception {
User user = new User();
user.setValue(new Integer[] { Integer.valueOf(1), Integer.valueOf(2) });
SerializeConfig mapping = new SerializeConfig();
mapping.setAsmEnable(false);
String text = JSON.toJSONString(user, mapping, SerializerFeature.WriteMapNullValue);
User user1 = JSON.parseObject(text, User.class);
Assert.assertEquals(user1.getValue()[0], user.getValue()[0]);