@Override
	public String toString() {
		return this.toJSONString(0);
	}
@Test
	public void parseBeanTest2() {
		final TestBean bean = new TestBean();
		bean.setDoubleValue(111.1);
		bean.setIntValue(123);
		bean.setList(CollUtil.newArrayList("a", "b", "c"));
		bean.setStrValue("strTest");
		bean.setTestEnum(TestEnum.TYPE_B);

		final JSONObject json = JSONUtil.parseObj(bean, false);
		// 枚举转换检查
		assertEquals("TYPE_B", json.get("testEnum"));

		final TestBean bean2 = json.toBean(TestBean.class);
		assertEquals(bean.toString(), bean2.toString());
	}