将数组转换为Json List<List<String>> listOut = new ArrayList<>(); String jsonList = JSON.toJSONString(listOut);