springMVC List对象转换为json列表对象

@ResponseBody
@RequestMapping("xxx.do")
public List<POJO> getList(){
    return List<POJO>;
}

猜你喜欢

转载自www.cnblogs.com/lvlin241/p/9313202.html
今日推荐