JSONArray is assigned to JSONObject to parse json. After json is parsed, it is found that JSONArray becomes a string:
JSONArray looks like a string:
Normal appearance:
solve:
//科目信息jsonArray列表
JSONArray accounts = getAccounts(grdERPlist, description, employeeCode, unitCode);
formData.put("VOUCHER_D", accounts.toList());