@@ -0,0 +1,946 @@
+package com.alibaba.json.bvt.serializer;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONObject;%0Aimport com.alibaba.fastjson.serializer.JSONSerializer;%0Aimport com.alibaba.fastjson.serializer.SerializerFeature;%0Aimport junit.framework.TestCase;%0Aimport org.junit.Assert;%0A%0Apublic class PrettyFormatTest2 extends TestCase %7B%0A%0A    public void test_0() throws Exception %7B%0A        Model model = new Model();%0A        model.id = 123;%0A        model.name = %22wenshao%22;%0A        String text = JSON.toJSONString(model, SerializerFeature.PrettyFormat);%0A        assertEquals(%22%7B%5Cn%22 +%0A                %22%5Ct%5C%22id%5C%22:123,%5Cn%22 +%0A                %22%5Ct%5C%22name%5C%22:%5C%22wenshao%5C%22%5Cn%22 +%0A                %22%7D%22, text);%0A        %0A        Assert.assertEquals(%22%5B%5Cn%5Ct%7B%7D,%5Cn%5Ct%7B%7D%5Cn%5D%22, JSON.toJSONString(new Object%5B%5D %7B new Object(), new Object() %7D, SerializerFeature.PrettyFormat));%0A    %7D%0A%0A    public  static class Model %7B%0A        public int id;%0A        public String name;%0A    %7D%0A%7D%0A

add testcae.