@@ -0,0 +1,2773 @@
+package com.alibaba.json.bvt.issue_1500;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Apublic class Issue1576 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        String json = %22%7B%5C%22code%5C%22:200,%5C%22in_msg%5C%22:%5C%22a%5C%22,%5C%22out_msg%5C%22:%5C%22a%5C%22,%5C%22data%5C%22:%5B%7B%5C%22title%5C%22:%5C%22a%5C%22,%5C%22url%5C%22:%5C%22url%5C%22,%5C%22content%5C%22:%5C%22content%5C%22%7D%5D,%5C%22client_id%5C%22:0,%5C%22client_param%5C%22:0,%5C%22userid%5C%22:0%7D%22;%0A        NewsDetail newsDetail = JSON.parseObject(json, NewsDetail.class);%0A        assertNotNull(newsDetail);%0A    %7D%0A%0A    public static class NewsDetail %7B%0A%0A        public int code;%0A        public String in_msg;%0A        public String out_msg;%0A        public String client_id;%0A        public String client_param;%0A        public String userid;%0A        public List%3CDataBean%3E data = new ArrayList%3CDataBean%3E();%0A%0A        public int getCode() %7B%0A            return code;%0A        %7D%0A%0A        public void setCode(int code) %7B%0A            this.code = code;%0A        %7D%0A%0A        public String getIn_msg() %7B%0A            return in_msg;%0A        %7D%0A%0A        public void setIn_msg(String in_msg) %7B%0A            this.in_msg = in_msg;%0A        %7D%0A%0A        public String getOut_msg() %7B%0A            return out_msg;%0A        %7D%0A%0A        public void setOut_msg(String out_msg) %7B%0A            this.out_msg = out_msg;%0A        %7D%0A%0A        public String getClient_id() %7B%0A            return client_id;%0A        %7D%0A%0A        public void setClient_id(String client_id) %7B%0A            this.client_id = client_id;%0A        %7D%0A%0A        public String getClient_param() %7B%0A            return client_param;%0A        %7D%0A%0A        public void setClient_param(String client_param) %7B%0A            this.client_param = client_param;%0A        %7D%0A%0A        public String getUserid() %7B%0A            return userid;%0A        %7D%0A%0A        public void setUserid(String userid) %7B%0A            this.userid = userid;%0A        %7D%0A%0A        public List%3CDataBean%3E getData() %7B%0A            return data;%0A        %7D%0A%0A        public void setData(List%3CDataBean%3E data) %7B%0A            this.data = data;%0A        %7D%0A    %7D%0A%0A    public static class DataBean %7B%0A        /**%0A         * title : %E4%B8%AD%E5%8D%88%0A         * url : url%0A         * content : content%0A         */%0A%0A        public String title;%0A        public String url;%0A        public String content;%0A%0A        public String getTitle() %7B%0A            return title;%0A        %7D%0A%0A        public void setTitle(String title) %7B%0A            this.title = title;%0A        %7D%0A%0A        public String getUrl() %7B%0A            return url;%0A        %7D%0A%0A        public void setUrl(String url) %7B%0A            this.url = url;%0A        %7D%0A%0A        public String getContent() %7B%0A            return content;%0A        %7D%0A%0A        public void setContent(String content) %7B%0A            this.content = content;%0A        %7D%0A    %7D%0A%7D%0A

add testcase for issue #1576