@@ -0,0 +1,1246 @@
+package com.alibaba.json.bvt.serializer;%0A%0Aimport java.io.StringWriter;%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONWriter;%0Aimport com.alibaba.fastjson.TypeReference;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class MultiFieldIntTest_writer extends TestCase %7B%0A    %0A    public void test_for_big_writer() throws Exception %7B%0A        List%3CModel%3E list = new ArrayList%3CModel%3E();%0A        %0A        for (int i = 0; i %3C 1024 * 10; ++i) %7B%0A            Model model = new Model();%0A            model.id = 10000000 + i;%0A            list.add(model);%0A        %7D%0A        %0A        StringWriter out = new StringWriter();%0A        JSONWriter writer = new JSONWriter(out);%0A        writer.writeObject(list);%0A        writer.close();%0A        %0A        String text = out.toString();%0A        System.out.println(text);%0A        List%3CModel%3E results = JSON.parseObject(text, new TypeReference%3CList%3CModel%3E%3E() %7B%7D);%0A        %0A        Assert.assertEquals(list.size(), results.size());%0A        for (int i = 0; i %3C results.size(); ++i) %7B%0A            Assert.assertEquals(list.get(i).id, results.get(i).id);%0A        %7D%0A    %7D%0A    %0A    public static class Model %7B%0A        public int id;%0A    %7D%0A%7D%0A

add testcase