@@ -0,0 +1,2321 @@
+package com.alibaba.json.bvt.parser.array;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Date;%0Aimport java.util.List;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.annotation.JSONType;%0Aimport com.alibaba.fastjson.parser.Feature;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class BeanToArrayTest extends TestCase %7B%0A%0A    public void test_beanToArray_parse() throws Exception %7B%0A        String text = %22%7B%5C%22go%5C%22:%5B%5B%5C%220%5C%22,%5Btrue,false%5D,9999999999999,99,%5C%22012345678901234567890123%5C%22,%5C%22ftp://gfw.yma.co/x160%5C%22,%5C%22xxxx%5C%22,%5C%229876543210123456%5C%22,%5B%5B%5C%22m%5C%22,%5C%22%E4%B8%8D%E8%A6%81%E5%BC%80%E5%BF%83%5C%22,%5C%22http://gfw.meiya.co%5C%22,%5C%22123456@gg.com%5C%22,%5C%22%E9%BA%BB%E9%BA%BB%5C%22,%5C%22add%5C%22,null,%5C%229876543210123456%5C%22%5D%5D,null,%5B%5C%22add%5C%22,%5C%22ww%5C%22%5D,999,1234567890123%5D%5D,%5C%22success%5C%22:true%7D%22;%0A        GR result = JSON.parseObject(text, GR.class);%0A        Assert.assertNotNull(result);%0A        Assert.assertEquals(1, result.go.size());%0A        Assert.assertEquals(%220%22, result.go.get(0).bi);%0A        Assert.assertEquals(true, result.go.get(0).co.qu);%0A        Assert.assertEquals(false, result.go.get(0).co.sa);%0A        Assert.assertEquals(9999999999999L, result.go.get(0).gm.getTime());%0A        Assert.assertEquals(99, result.go.get(0).grCo);%0A    %7D%0A%0A    public static class GR %7B%0A        public List%3CGO%3E go;%0A        public boolean  success;%0A    %7D%0A%0A    @JSONType(parseFeatures = Feature.SupportArrayToBean)%0A    public static class GO %7B%0A%0A        public String       bi;%0A        public CO           co;%0A%0A        public Date         gm;%0A        public int          grCo;%0A        public String       grId;%0A        public String       grNa;%0A        public String       grIm;%0A        public String       ma;%0A        public List%3CMO%3E     me = new ArrayList%3CMO%3E();%0A        public int          th = 500;%0A        public List%3CString%3E pe = new ArrayList%3CString%3E();%0A        public String       no;%0A        public long         ve;%0A    %7D%0A%0A    @JSONType(parseFeatures = Feature.SupportArrayToBean)%0A    public static class MO %7B%0A%0A        public String ope;%0A        public String use;%0A        public String log;%0A        public String rea;%0A        public String gro;%0A        public String gen;%0A        public String hea;%0A        public String nic;%0A    %7D%0A%0A    @JSONType(parseFeatures = Feature.SupportArrayToBean)%0A    public static class CO %7B%0A%0A        public boolean sa;%0A        public boolean qu;%0A    %7D%0A%7D%0A

add testcase