com.alibaba.fastjson.JSONException: syntax error, pos 6, json : 这个json报错怎么整??
< 返回列表时间: 2019-07-04来源:开源中国
HDC调试需求开发(15万预算),能者速来!>>>
com.alibaba.fastjson.JSONException: syntax error, pos 6, json :

代码写了 ,但是报错了
JSONObject querySql = JSON.parseArray(ccont).getJSONObject(0).getJSONObject("reader")
.getJSONObject("parameter").getJSONObject("querySql");;


要解析的json是 [{"reader":{"parameter":{"querySql":"SELECT * FROM `t_rsd_model_history` t WHERE t.`status` = '正在执行' ;","readsource":""},"name":"mysqlreader"},"writer":{"parameter":{"writersource":"","column":["model_name"],"writeMode":"insert","batchSize":["22"],"table":["t_rsd_model_history"],"preSql":["SELECT * FROM `t_rsd_model_history` t WHERE t.`status` = '正在执行' ;"]},"name":"mysqlwriter"}}]
热门排行