@@ -0,0 +1,1612 @@
+package com.alibaba.json.bvt.parser;%0A%0Aimport java.util.Arrays;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONObject;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class BigSpecailKeyTest2 extends TestCase %7B%0A    public void test_big_special_key() throws Exception %7B%0A        StringBuffer buf = new StringBuffer();%0A        for (int i = 0; i %3C 16; ++i) %7B%0A            char%5B%5D chars = new char%5B2048%5D;%0A            Arrays.fill(chars, '0');%0A            buf.append(chars);%0A            %0A            buf.append('%5C%5C');%0A            buf.append('%5C%22');%0A        %7D%0A        %0A        String key = buf.toString();%0A        %0A        Map%3CString, Object%3E map = new HashMap%3CString, Object%3E();%0A        map.put(key, 1001);%0A        %0A        String text = JSON.toJSONString(map);%0A        JSONObject obj = JSON.parseObject(text);%0A        Assert.assertEquals(map.get(key), obj.get(key));%0A    %7D%0A    %0A    public void test_big_special_key_2() throws Exception %7B%0A        StringBuffer buf = new StringBuffer();%0A        for (int i = 0; i %3C 16; ++i) %7B%0A            char%5B%5D chars = new char%5B300%5D;%0A            Arrays.fill(chars, '0');%0A            buf.append(chars);%0A            %0A            buf.append('%5C%5C');%0A            buf.append('%5C%22');%0A        %7D%0A        %0A        String key = buf.toString();%0A        %0A        Map%3CString, Object%3E map = new HashMap%3CString, Object%3E();%0A        map.put(key, 1001);%0A        %0A        String text = JSON.toJSONString(map);%0A        JSONObject obj = JSON.parseObject(text);%0A        Assert.assertEquals(map.get(key), obj.get(key));%0A    %7D%0A%7D%0A

add testcase