字符串转对象
Teacher teacher = JSON.parseObject(JSON.toJSONString(map), Teacher.class);//map 转 对象
字符串转list
List<Game> gameList = JSONObject.parseArray(gameListStr, Game.class);
字符串转对象
Teacher teacher = JSON.parseObject(JSON.toJSONString(map), Teacher.class);//map 转 对象
字符串转list
List<Game> gameList = JSONObject.parseArray(gameListStr, Game.class);