@@ -0,0 +1,1497 @@
+package com.alibaba.json.bvt.bug;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONObject;%0Aimport com.alibaba.fastjson.parser.Feature;%0Aimport com.alibaba.fastjson.serializer.SerializerFeature;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class Issue_748 extends TestCase %7B%0A%0A    public void testJsonObjectWithClassName() %7B%0A        JSONObject jsonObject = new JSONObject();%0A        jsonObject.put(%22key1%22, %22value1%22);%0A        jsonObject.put(%22key2%22, %22value2%22);%0A        DataObject dataObject = new DataObject();%0A        dataObject.setValue(jsonObject);%0A        String jsonStr = JSON.toJSONString(dataObject, SerializerFeature.QuoteFieldNames,%0A                                           SerializerFeature.SkipTransientField, SerializerFeature.WriteClassName);%0A%0A//        System.out.println(%22parse%E4%B9%8B%E5%89%8D:%22 + jsonStr);%0A%0A        DataObject obj = (DataObject) JSON.parse(jsonStr, Feature.IgnoreNotMatch);%0A        Assert.assertNotNull(obj.value);%0A        Assert.assertNotNull(obj.value.get(%22key1%22));%0A        Assert.assertNotNull(obj.value.get(%22key2%22));%0A    %7D%0A%0A    public static class DataObject %7B%0A%0A        private JSONObject value;%0A%0A        public DataObject()%7B%0A        %7D%0A%0A        public JSONObject getValue() %7B%0A            return value;%0A        %7D%0A%0A        public void setValue(JSONObject value) %7B%0A            this.value = value;%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return %22DataObject%7B%22 + %22value=%22 + value + '%7D';%0A        %7D%0A    %7D%0A%0A%7D%0A

add testcase for issue #748