@@ -0,0 +1,533 @@
+package com.alibaba.json.bvt.issue_2700;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.serializer.SerializerFeature;%0Aimport junit.framework.TestCase;%0A%0Apublic class Issue2787 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        Model m = new Model();%0A        String str = JSON.toJSONString(m, SerializerFeature.WriteMapNullValue, SerializerFeature.WriteNullListAsEmpty);%0A        assertEquals(%22%7B%5C%22value%5C%22:%5B%5D%7D%22, str);%0A    %7D%0A%0A    public static class Model %7B%0A        public int%5B%5D value;%0A    %7D%0A%7D%0A

add testcase for #2787