@@ -0,0 +1,810 @@
+package com.alibaba.json.bvt.issue_1100;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONObject;%0Aimport junit.framework.TestCase;%0A%0A/**%0A * Created by wenshao on 01/04/2017.%0A */%0Apublic class Issue1121 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        JSONObject userObject = new JSONObject();%0A        userObject.put(%22name%22,%22jack%22);%0A        userObject.put(%22age%22,20);%0A%0A        JSONObject result = new JSONObject();%0A        result.put(%22host%22,%22127.0.0.1%22);%0A        result.put(%22port%22,3306);%0A        result.put(%22user%22,userObject);%0A        result.put(%22admin%22,userObject);%0A%0A        String json = JSON.toJSONString(result, true);%0A        System.out.println(json);%0A%0A        JSONObject jsonObject2 = JSON.parseObject(json);%0A        assertEquals(result, jsonObject2);%0A    %7D%0A%7D%0A

add testcase for issue #1121