ObjectMapper objectMapper = new ObjectMapper(); List<Cell>cells=new ArrayList(); //List转String String str= objectMapper.writeValueAsString(cells); //String转List List<Cell> cellList = objectMapper.readValue(str, new TypeReference<List<Cell>>() {});