@@ -0,0 +1,1639 @@
+package com.alibaba.json.bvt.bug;%0A%0Aimport java.io.StringReader;%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSONReader;%0A%0Apublic class Issue143 extends TestCase %7B%0A%0A    public void test_for_issue() throws Exception %7B%0A        String text = %22%7B%5C%22rec%5C%22:%5B%7B%7D,%7B%7D%5D%7D%22;%0A        %0A        JsonStroe store = new JsonStroe();%0A        %0A        JSONReader reader = new JSONReader(new StringReader(text));%0A        reader.startObject();%0A        %0A        String key = reader.readString();%0A        %0A        Assert.assertEquals(%22rec%22, key);%0A        reader.startArray();%0A        %0A        List%3CKeyValue%3E list = new ArrayList%3CKeyValue%3E();%0A        while(reader.hasNext()) %7B%0A            KeyValue keyValue = reader.readObject(KeyValue.class);%0A            list.add(keyValue);%0A        %7D%0A        store.setRec(list);%0A        %0A        reader.endArray();%0A        %0A        reader.endObject();%0A        %0A        reader.close();%0A    %7D%0A%0A    public static class JsonStroe %7B%0A%0A        private List rec = new ArrayList();%0A%0A        public void setRec(List items) %7B%0A            this.rec = items;%0A        %7D%0A%0A        public List getRec() %7B%0A            return rec;%0A        %7D%0A    %7D%0A%0A    public static class KeyValue %7B%0A%0A        private String key;%0A        private String value;%0A%0A        public String getKey() %7B%0A            return key;%0A        %7D%0A%0A        public void setKey(String key) %7B%0A            this.key = key;%0A        %7D%0A%0A        public String getValue() %7B%0A            return value;%0A        %7D%0A%0A        public void setValue(String value) %7B%0A            this.value = value;%0A        %7D%0A    %7D%0A%7D%0A

add testcase