@@ -0,0 +1,1359 @@
+package com.alibaba.json.bvt.issue_1400;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.TypeReference;%0Aimport junit.framework.TestCase;%0Aimport org.junit.Assert;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * Created by kimmking on 11/08/2017.%0A */%0Apublic class Issue1400 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        TypeReference tr = new TypeReference%3CResource%3CArrayList%3CApp%3E%3E%3E()%7B%7D;%0A        Test test = new Test(tr);%0A        Resource resource = test.resource;%0A        Assert.assertEquals(1,resource.ret);%0A        Assert.assertEquals(%22ok%22,resource.message);%0A        List%3CApp%3E data =(List%3CApp%3E) resource.data;%0A        Assert.assertEquals(2,data.size());%0A        App app1 = data.get(0);%0A        Assert.assertEquals(%2211c53f541dee4f5bbc4f75f99002278c%22,app1.appId);%0A    %7D%0A%0A    public static class Resource%3CT%3E %7B%0A        public int ret;%0A        public String message;%0A        public T data;%0A    %7D%0A%0A    public static class App %7B%0A        public String appId;%0A    %7D%0A%0A    public static class Test %7B%0A        String str = %22%7B%5C%22ret%5C%22:1,%5C%22message%5C%22:%5C%22ok%5C%22,%5C%22data%5C%22:%5B%7B%5C%22appId%5C%22:%5C%2211c53f541dee4f5bbc4f75f99002278c%5C%22%7D,%7B%5C%22appId%5C%22:%5C%22c6102275ce5540a59424defa1cccb8ed%5C%22%7D%5D%7D%22;%0A        public Resource resource;%0A        Test(TypeReference tr) %7B%0A            resource = (Resource)JSON.parseObject(str, tr);%0A        %7D%0A    %7D%0A%7D%0A

add testcase for #1400