@@ -0,0 +1,1783 @@
+package com.alibaba.json.bvt.issue_1500;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONObject;%0Aimport com.alibaba.fastjson.TypeReference;%0Aimport junit.framework.TestCase;%0A%0Apublic class Issue1513 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        %7B%0A            Model%3CObject%3E model = JSON.parseObject(%22%7B%5C%22values%5C%22:%5B%7B%5C%22id%5C%22:123%7D%5D%7D%22, new TypeReference%3CModel%3CObject%3E%3E()%7B%7D);%0A            assertNotNull(model.values);%0A            assertEquals(1, model.values.length);%0A            JSONObject object = (JSONObject) model.values%5B0%5D;%0A            assertEquals(123, object.getIntValue(%22id%22));%0A        %7D%0A        %7B%0A            Model%3CA%3E model = JSON.parseObject(%22%7B%5C%22values%5C%22:%5B%7B%5C%22id%5C%22:123%7D%5D%7D%22, new TypeReference%3CModel%3CA%3E%3E()%7B%7D);%0A            assertNotNull(model.values);%0A            assertEquals(1, model.values.length);%0A            A a = model.values%5B0%5D;%0A            assertEquals(123, a.id);%0A        %7D%0A        %7B%0A            Model%3CB%3E model = JSON.parseObject(%22%7B%5C%22values%5C%22:%5B%7B%5C%22value%5C%22:123%7D%5D%7D%22, new TypeReference%3CModel%3CB%3E%3E()%7B%7D);%0A            assertNotNull(model.values);%0A            assertEquals(1, model.values.length);%0A            B b = model.values%5B0%5D;%0A            assertEquals(123, b.value);%0A        %7D%0A        %7B%0A            Model%3CC%3E model = JSON.parseObject(%22%7B%5C%22values%5C%22:%5B%7B%5C%22age%5C%22:123%7D%5D%7D%22, new TypeReference%3CModel%3CC%3E%3E()%7B%7D);%0A            assertNotNull(model.values);%0A            assertEquals(1, model.values.length);%0A            C c = model.values%5B0%5D;%0A            assertEquals(123, c.age);%0A        %7D%0A    %7D%0A%0A    public static class Model%3CT%3E %7B%0A        public T%5B%5D values;%0A    %7D%0A%0A    public static class A %7B%0A        public int id;%0A    %7D%0A%0A    public static class B %7B%0A        public int value;%0A    %7D%0A%0A    public static class C %7B%0A        public int age;%0A    %7D%0A%7D%0A

add testcase for PullRequest #1513