@Test
    public void test() {
        TestJsonBean bean = new TestJsonBean();
        bean.setName("xxxx");
        bean.setAge(123);
        String str = JSON.toJSONString(bean);
        Assert.assertTrue(str.contains("\"Name\":\"xxxx\""));

        str = JSON.toJSONString(bean, true);
        Assert.assertTrue(str.contains(JSON.CLASS_KEY));
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/common/src/test/java/com/alipay/sofa/rpc/common/json/JSONTest.java