@Test
    public void testParse() {
        logger.info("parsing json string:" + jsonString);
        TestBean testBean = (TestBean) JSON.parse(jsonString);
        assert testBean.getData() != null;
        assert "tester".equals(testBean.getName());
        assert "value".equals(testBean.getData().getString("key"));
    }
test parse json contains jsonobject in javabean
Created by yixian on 2016-02-25.
src/test/java/com/alibaba/fastjson/serializer/TestParse.java