springmvc返回json字符串中文乱码 (1)

@RequestMapping(value="menuTreeAjax", produces = "application/json; charset=utf-8")
    @ResponseBody
    /**
     * 根据parentMenuId获取菜单的树结构
     * @param parentMenuId
     * @return
     */
    public String menuTreeAjax(Integer parentMenuId) {
        JSONArray array = menuService.getTreeMenuByParentMenuId(parentMenuId);
        return array.toString();
    }
原文地址:https://www.cnblogs.com/JpfBlog66/p/14242362.html