@@ -0,0 +1,1286 @@
+package com.alibaba.json.bvt.issue_1300;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONArray;%0Aimport com.alibaba.fastjson.JSONObject;%0Aimport com.alibaba.fastjson.annotation.JSONCreator;%0Aimport com.alibaba.fastjson.annotation.JSONField;%0Aimport com.alibaba.fastjson.util.TypeUtils;%0Aimport junit.framework.TestCase;%0Aimport org.junit.Assert;%0A%0A/**%0A * Created by kimmking on 02/07/2017.%0A */%0Apublic class Issue1303 extends TestCase %7B%0A    public void test_for_issue() %7B%0A        String jsonString = %22%5B%7B%5C%22author%5C%22:%7B%5C%22__type%5C%22:%5C%22Pointer%5C%22,%5C%22className%5C%22:%5C%22_User%5C%22,%5C%22objectId%5C%22:%5C%22a876c49c18%5C%22%7D,%5C%22createdAt%5C%22:%5C%222017-07-02 20:06:13%5C%22,%5C%22imgurl%5C%22:%5C%22https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=11075891,34401011&fm=117&gp=0.jpg%5C%22,%5C%22name%5C%22:%5C%22%E8%A1%A3%E6%9E%B6%5C%22,%5C%22objectId%5C%22:%5C%22029d5493cd%5C%22,%5C%22prices%5C%22:%5C%221%5C%22,%5C%22updatedAt%5C%22:%5C%222017-07-02 20:06:13%5C%22%7D%5D%22;%0A        JSONArray jsonArray = JSON.parseArray(jsonString);%0A        //jsonArray = new JSONArray(jsonArray);//%E8%BF%99%E4%B8%80%E5%8F%A5%E6%89%93%E5%BC%80%E4%B9%9F%E4%B8%80%E6%A0%B7%E6%98%AF%E6%AD%A3%E7%A1%AE%E7%9A%84%0A        double total = 0;%0A        for (int i = 0; i %3CjsonArray.size() ; i++) %7B%0A            JSONObject object=jsonArray.getJSONObject(i);%0A            assertEquals(%22%E8%A1%A3%E6%9E%B6%22,object.getString(%22name%22));%0A            total=total+ Double.valueOf(object.getString(%22prices%22));%0A        %7D%0A        assertEquals(1.0d,total);%0A    %7D%0A%7D%0A

add testcase for issue #1303